Sub tab navigation from LOV

I need to create an LOV for employee name. Based on the employee name selected in LOV employee details should be displayed in two subtabs.
Please help me that how this can be done.

Hi,
First get the value returned from the LOv on "lovUpdate" event
if("lovUpdate".equals(pageContext.getParameter("event")))
//Grab the value returned
String test = (String)vo.getCurrentRow().getAttribute("<Attribute name >");
//Set this value in session.
pageContext.putSessionValue("var",test);
Now the contents in the subtab must be based on some View Object rite?
So, just set the where clause of the VO's progrmatically based on the value grabbed above.
vo.setWhereClause("COLUMN_NAME = "+pageContext.getSessionValue("var"));
vo.executeQuery();
Thanks,
Gaurav

Similar Messages

  • Sub Tab navigation on clicking LOV

    I need to create an LOV for an employee name. Based on the employee selected from LOV employee details should be specified in 2 tabs.
    Please help me that how this can be done.

    Hi,
    you create a data bound table/form in the sub-tabs, and when the user changes the value of the LOV, you use a value change listener to query the user data based on the selecton. Use PPR to refresh the tabs. Sorry, but your problem description does not give more hints of what you are looking for
    Frank

  • Tabs with Sub-Tabs - Navigation Issue

    When navigating a page with a set of "main" tabs, each of which have "sub" tabs; portal remembers the sub-tab you were on last time you went to a main-tab.
    Is there a way to force navigation to the first sub-tab each time a main-tab is clicked?

    I hate this issue and have not clue how to fix it! Hopefully someone has advise.

  • Programmatic sub-tab navigation

    Use-case: I have a parent form (Tab 1), with 3 child tables (sub-tabs A, B and C). When the user makes specific changes in the parent form and saves, I want the application to automatically navigate them to sub-tab B or C (based on the results of some business rule validations).
    Is that possible? If so, can anyone direct me towards documentation (blogs/tutorials/docs/whatever) on how to do something like that?
    This is in JDev 11.1.1.4.

    Hi,
    if all is in the same page,bind in your bean the showDetailItems and PanelTabbed
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    getYourShowDetailItem.setDisclosed(true);
    adfFacesContext.addPartialTarget(getYourPanelTab());

  • Sub tab navigation

    I have a requirement where in a page I have certain number of tabs and on click of a button in one tab, the data needs to be saved and navigated to the next tab.
    We have managed to do this using javascript, but we found it unstable and not a viable option. Is there a way we can navigate from one subtab to the next subtab. I found few solutions on the forum which were not totally helpful. One solution I tried but not successful was:
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/cc/webui/XxTestPG&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX+"=1",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    Any ideas/suggestions would be greatly helpful
    Thank you,
    Kishore
    Edited by: SKishore on Sep 8, 2011 3:00 PM

    Get the subtablayout bean :-
    OASubTabLayoutBean subTabLayout = (OASubTabLayoutBean)webBean.findChildRecursive("<tab layout name>");
    After this set the selected tab within it :-
    subTabLayout.setSelectedIndex(pageContext, "<tab name>");
    For your scenario, I guess on press of submit button you should commit the data and then reload the page. In processRequest of controller you can have the above logic for setting one of the tabs as active.

  • LOV of sub-tab names

    Hi
    I'm trying to include a page to submit bugs in my app and I'd like to include LOVs for the tab and sub-tab names, since the users never see the page numbers. Anyone know how I can query for them in my LOV definitions?
    Thx
    Derek

    As Anton said, the best thing is to store your custom headings in a table so that you can use the table for your LOV as well as for your report headings.
    To use dynamic report headings, you can use the 'PL/SQL function body returning colon-delimited headings' feature on the Report Attributes page.
    So, if your report headings are stored in table t that function body can be
    declare
    l_headings varchar2(4000)
    begin
    for rec in (select heading from t) loop
       l_headings := l_headings||':'||rec.heading;
    end loop;
    return ltrim(l_heading,':');
    end;Hope this helps.

  • Unable to remove sub-tab from portal page

    Hi,
    Get the following error when trying to remove a sub-tab from one of our portal pages;
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    An unexpected error occurred: User-Defined Exception (WWC-44082)
    Error while deleting page. (WWC-44130)
    An unexpected error occurred: ORA-20100:
    ORA-06512: at "PORTAL.WWSBR_STDERR", line 437
    ORA-06512: at "PORTAL.WWV_THINGDB", line 4021
    ORA-01403: no data found
    ORA-01403: no data found (WWC-44082)
    An unexpected error has occurred (WWS-32100)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    Unexpected error encountered in wwsec_api.remove_group_acl (ORA-01403: no data found
    ORA-01403: no data found) (WWC-41417)
    In advanced options for the tab, 'Inherit Access Settings From The Page' is selected.
    Under page access settings, the 'From page template' option is selected.
    Any ideas?
    Cheers,
    Chris

    Please report this problem to Oracle Support. This is not normal behaviour.

  • Can not update tab if its not the default sub-tab.

    Can not update tab if its not the default sub-tab.
    JDeveloper Version 10.1.2.1.0 (Build 1913)
    Hi. I have a problem with a “lovOpenWindowAction”
    The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
    The lovOpenWindowAction lies in the included UIX-page
    The sub-tab I have a problem with has a table with users. Then I have a “Create New” button than I want to click on and select a new user that should be included in the table in the sub-tab.
    When I click on the button I open a LOV-window. Here I select the user that I want to add.
    In the LOV Action-class I save my new value in the database. Then in the method “onLovUpdate” I update the iterator with the new values from the database.
    But in my GUI the subtab is not updated until I click on it.
    But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
    Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
    <tableActions>
    <button text="Create New" id=" createNewRollperson" accessKey="N">
    <primaryClientAction>
    <lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
    source=" createNewRollperson "
    targets="joinedRollpersfiskeer message"/>
    </primaryClientAction>
    </button>
    </tableActions>
    Here is some code from the master UIX-page
    <subTabLayout id="flikar">
    <subTabs>
    <subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
    <contents>
    <link id="resorFlik" text="Resor"
    disabled="${sessionScope.fiske.id == null}"
    selected="${(param.source == 'resorFlik') or empty param.source}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="resorFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    <link id="rollpersonerFlik" text="Rollpersoner"
    disabled="${sessionScope.fiske.id == null}"
    selected="${param.source == 'rollpersonerFlik'}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="rollpersonerFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    </contents>
    </subTabBar>
    </subTabs>
    <contents>
    <switcher childName="${param.source}"
    defaultCase=”ResorFlik">
    <case name="resorFlik">
    <include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
    </case>
    <case name="rollpersonerFlik">
    <include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
    </case>
    </switcher>
    </contents>
    </subTabLayout>
    What am I missing?? I can’t have this subtab as the default subtab! Please help me with a solution!

    hi,
    Change the condition type to manual entry.
    or
    for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
    Thanks & Regards,
    Kiran

  • Basic settings tab missing from Develop module

    I recently bought lightroom 4 after using the free 30 day trial, and i have no basic settings on my mac, can't find them anywhere? My tabs go from histogram to colour curve. Where are they?
    Very confused..
    Message title was edited by: Brett N

    No need to be confused, you've probably inadvertently hidden it. The thing is that in every Module, all the individual panels in each of the left and right-hand columns can be optionally shown or hidden under user control (there are few minor exceptions such as the Navigator, but by and large this control is available throughtout Lightroom).
    So to bring up the options for each column (in your case the right-hand column of the Develop Module), simply right-click (ctrl-click on Mac) on ANY of the headers that are showing in that column and you'll see a pop-up context menu like the attached screenshot. Here you can see that I've previously hidden the Basic panel, so all I need to do is click on the Basic line and it's restored. Conversely, I can use this method to hide a panel.

  • Q:How to set the inactive 'sub-tab' text color?

    On portal.oracle.com I created my own Page Style (changed the
    color scheme) from the default and then added 'sub-tabs' to the
    Group Docs tab. Now when you click on Group Docs you see four
    'sub-tabs' underneath it. The problem I am having is that on the
    inactive tabs the text is not what I set when I created the Page
    Style. It appears to be reverting to color of the original Style
    which was created for my Portal. Any suggestions?

    do it like this
    g.setColor(255,255,255);//this will set the color for the canvas
    g.fillRect(0,0,ht,wd);//this will fill the rect(screen) with the above color,actually this will be BG color for ur app..ht,wd are the height and width of ur canvas...
    now specify color for the text
    g.setColor(r,g,b);//this color shud ofcourse be diff frm the color set for BG
    now draw the string
    g.drawString("xxx", 0, 0, ....);

  • Change Color on Sheet Tab's from value in Cell

    I have try this code but it seem's not to Work propperly
    Private Sub Worksheet_Change(ByVal Target As Range)
    '    If Range("F58") > 9 Then
    '         Me.Tab.ColorIndex = 3
    '    ElseIf Range("F58") = 8 Then
    '         Me.Tab.ColorIndex = 8
    '    ElseIf Range("F58") < 7 Then
    '        Me.Tab.ColorIndex = 10
    '    ElseIf Range("F58:F59") = 0 Then
    '        Me.Tab.ColorIndex = xlColorIndexNone
    '     Else
    '         Me.Tab.ColorIndex = xlNone
    '    End If
    'End Sub
    the options ill need is
    1 When cell F58 is over 8 then Tab change to GOLD color
    2 When Cell F58 (8) then Tab Change to Silver color
    3 when cell F58 is under 8 Then Tab Change to Bronze Color
    If no Number in F58 Then No Color

    Thanks to you for the Help i have made a litle Change into it and then it's WORK as it shoul
    your code.
    Private Sub Worksheet_Change(ByVal Target As Range)
         If Range("F58") > 8 Then
              Me.Tab.ColorIndex = 10
         ElseIf Range("F58") = 8 Then
              Me.Tab.ColorIndex = 8
         ElseIf Range("F58") < 8 And Range("F58") > 0 Then
             Me.Tab.ColorIndex = 3
         ElseIf Range("F58") = 0 And Range("F59") = 0 Then
             Me.Tab.ColorIndex = xlColorIndexNone
         End If
     End Sub
    My ode after the changes
    Private Sub Worksheet_Change(ByVal Target As Range)
              If Range("F58") > 8 Then
              Me.Tab.ColorIndex = 10
             ElseIf Range("F58") = 8 Then
              Me.Tab.ColorIndex = 8
             ElseIf Range("F58") < 8 And Range("F59") > 8 Then
             Me.Tab.ColorIndex = 3
         ElseIf Range("F58") = 0 And Range("F59") = 0 Then
             Me.Tab.ColorIndex = xlColorIndexNone
         End If
     End Sub
    Your Regards From Henrik-1 And Danish Dart Union

  • Substitution syntax in tabbed navigation list. Smart or Lucky?

    I've got a tabbed navigation list that I use on two separate pages.
    The list entry points back to the current page but sets a page item value based on the list item value.
    So this tabbed list might have items labeled E-mail, Phone, Address. When you click one of the list tab items it submits to the current page, sets a hidden field to EMAIL,PHONE, or ADDRESS. That hidden field controls which email,phone, or address region is displayed.
    OK easy enough. Except that I use the same list on multiple pages. Rather than create a list for each page, I made it more generic...
    So I set the item target as follows:
    Target type: Page in this application
    Page: &APP_PAGE_ID.
    Set these items: P&APP_PAGE_ID._ALIAS_REGION
    With these values: ADDRESS
    Notice that I've got substitution type syntax for the target page and the NAME of the item whose value I want to set. For example if the list is rendered on page 2 the target page becomes 2 and the item name becomes P2_ALIAS_REGION. On page 7, they are 7 and P7_ALIAS_REGION respectively.
    I also use this same syntax in the "Current List Entry" with a query like:
    select 1 from dual where :P&APP_PAGE_ID._ALIAS_REGION = 'ACTIVE'
    Now, I thought I was being clever in doing this, since it lets me use the same list on several similar pages. However the Apex Essentials Advisor is complaining about my syntax, and as awesome as that tool is, it got me thinking that I might be too clever for my own good.
    Is it valid to use this substitution syntax in this context? I mean it works, but is it supposed to work this way? If this is by happy coincidence then Apex developers please don't change how this works. If this is by design, then you guys/girls are awesome!

    Is it valid to use this substitution syntax in this context?Yes.
    I mean it works, but is it supposed to work this way?Yes.
    If this is by happy coincidence then Apex developers please don't change how this works.It is very unlikely that we would change any of the core substitution logic in ways that adversely affect behavior like this.
    If this is by design, then you guys/girls are awesome!Aw, shucks.
    Scott

  • Tab Navigation in ABAP screens

    Hi All,
    Is the navigation sequence of the screen elements in a dynpro screen on "tab" event is from left to right and top to bottom always irrespective of whether the fields are in multiple subscreens/tab pages?. Is there a way to control the tab navigation sequence in Screens. Any help regarding this would be appreciated.
    TIA,
    Sharath

    Hi,
    The navigation sequence in tabstrip can be controlled in coding itself.
    If u want to make the first tab as deault u can set that in coding as follows.
    I will give u some sample coding try this out.
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'Program name',
                 pressed_tab LIKE sy-ucomm,
                            <b>"  VALUE c_main_tab-tab1,(specify the tab u want to make default)</b>
               END OF i_main_tab.
    U can control the tab flow in the PBO as
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9001.
      MODULE main_tab_active_tab_set.
      CALL SUBSCREEN main_tab_sca
        INCLUDING i_main_tab-prog i_main_tab-subscreen.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9001.
      MODULE main_tab_active_tab_get.
      MODULE main_tab_active_tab_set.
    MODULE main_tab_active_tab_set OUTPUT.
    IF ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab2.
    elseif ( NOT cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab1 ) .
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab NE c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab1.
    ELSEIF ( cb_det IS INITIAL ) AND
         ( i_main_tab-pressed_tab eq c_main_tab-tab2 ).
       i_main_tab-pressed_tab = c_main_tab-tab2.
    ENDIF.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
        WHEN c_main_tab-tab2.
      To display detail report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 " MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_GET  INPUT
          text
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.<b>(tab name)</b>
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_GET  INPUT
    &----&      Module  USER_COMMAND_9001  INPUT
          This performs PAI
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  INPUT
          text
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
          i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
          i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.              " MAIN_TAB_ACTIVE_TAB_SET  INPUT
    This is the sample code u can try this out.
    Thanks &  Regards,
    Judith

  • Why is the "Partition" tab gone from my Disk Utility???

    Why is the "Partition" tab gone from my Disk Utility? How do I partition a disk?

    1. Boot from your OS X Installer Disc One if you are trying to partition your startup drive and after the installer loads select your language then click on the Continue button. After the menu bar appears select Disk Utility from the Utilities menu.
    If you are trying to partition an external drive or a non-startup drive then simply open Disk Utility from the Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

  • #TAB_LINK# value not set for tabbed navigation list

    I'm a big supporter of searching the threads for an answer before posting. My apologies if I've overlooked this in the threads.
    Like many others, I'm leveraging lists to mimic third level tab functionality. I'm trying to use the tabbed navigation list template. My targets for the list entries are pages within the application. When clicking the links however, #TAB_LINK# is not being interpreted within the link URL. #TAB_LINK# is simply appended to the end of the URL instead of being replaced with the actual link value, for example I would expect to see a typical htmldb page link with the target page value.
    As a result, no navigation occurs to the target page. If I change the list template to horitzontal link list, the links function as expected, however I prefer the look of the tabbed navigation template.
    Any suggestions?
    David

    I took a hint from my own post and checked the template that was working for me and noticed that the horizontal list template uses #LINK# instead of #TAB_LINK#.
    I altered the tabbed navigation list template, replacing #TAB_LINK# with #LINK#, and now the tab links function as expected. I'm not sure if this fix will bite me later, or if this is a known issue. If there is a "proper" solution out there, I would still like to hear it. For now I'll assume my fix is a hack.
    Thanks,
    David

Maybe you are looking for

  • I tried to delete an audio recording on my iphone and pressed edit configure and now am locked out of it

    I tried to delete an audio recording from my iphone ipod and pressed edit and got a message saying configur ipod I did this and now I am locked into only one topic and recording.  Now after a couple of hours I cannot get into my ipod at all.  Can any

  • Jiniator requires reinstallation

    Is there a known problem with using multiple application servers and jiniator ? While we just had the one box everything seemed to be working ok. Now we have two servers it seems that jinitiator is becoming corrupted. IE disappears immediately after

  • Archiving -Balance sheet GLs

    Hi , We have done the archiving with archiving object FI_document for the year 2009. But i am not able to tally the open value  as on today for the GLs which are not managed as open item ( i.e only line item based.) But for customer , vendor and Gls

  • Changed number and facetime is still using old number

    I added a 3rd line/iphone to my AT&T account. When i bought the iphone at the apple store I asked for a 626 area code but was told the only option I had was a 312 area code. I then called AT&T to try to change the number to a 626 number but was told

  • Post-Crash Login Dilemma

    Hi there - Here are my machine specs: MacBook Pro 17" 2.6 2GB RAM running 10.4.11 Here's my dilemma: I crashed working in Logic Pro 8 but was able to do a clean shutdown. Upon restarting my machine, this is what I encountered: Machine boots to login