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());

Similar Messages

  • 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.

  • 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

  • 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.

  • 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

  • How to add Sub Tabs to Admin Interface under Account Tab.

    Guys,
    Is there way to add sub tabs to Accounts Tab in admin interface.
    Regards,
    Vinod

    It can be done -
    The necessary java code to achieve this needs to be put in the file: includes/bodyStart.jsp above the line that creates the navigation bar:
    <% String navBar = p.getMainNavigation();
    For example, let's say we want to add a new tab that gives us a shortcut to the debug/session pages, and a sub-tab below it that lists all configuration objects in the repository. Here's the code for it:
    // Add a tab..
    com.waveset.ui.PageNavigation DEBUG_PAGE = new com.waveset.ui.PageNavigation("Debug", "debug/session.jsp", 0);
    DEBUG_PAGE.setRequiredPerms(new com.waveset.object.Permission[] { new com.waveset.object.Permission(com.waveset.object.Type.SYSTEM, com.waveset.object.Right.VIEW, true) });
    p.addPage(DEBUG_PAGE);
    // Add a sub-tab..
    String urlDebugListConfiguration = "debug/List_Objects.jsp?List_Objects_Type=Configuration";
    if (! DEBUG_PAGE.containsSubPage(urlDebugListConfiguration) ) {
    com.waveset.ui.PageNavigation DEBUG_LIST_CONF_PAGE = new com.waveset.ui.PageNavigation("List Configuration", urlDebugListConfiguration, 0);
    DEBUG_LIST_CONF_PAGE.setRequiredPerms(new com.waveset.object.Permission[] { new com.waveset.object.Permission(com.waveset.object.Type.CONFIGURATION, com.waveset.object.Right.VIEW, true)});
    DEBUG_PAGE.addSubPage(DEBUG_LIST_CONF_PAGE);
    As seen above, appropriate rights can be coded to limit the visibility of these tabs to administrators with certain capabilities. For a complete list of rights, refer to the IDM documentation and the java-docs for com.waveset.object.Type and com.waveset.object.Right.

  • Sub tab portelts not displaying

    When I create sub tabs, the portlet on that tab does not display the first time it is diaplayed. I have to move to another sub tab and then back before it will display.
    Has anyone seen this?

    Hi,
    we're experiencing the same.
    Environment:
    Portal 3.0.6.6.5 on Sun Solaris
    Test Case:
    - set property 'display as portlet' for page (e.g. Oracle Portal Navigator)
    - create tab in second region on test page (page has two vertical region)
    - create page portlet on this tab for Oracle Portal Navigator (which has multiple tabs)
    Then the first time the tab is render no content is displayed as described by David.
    Thanks, Tony

  • How can i find the label of all the tabs of a tab navigator??

    I have a tab navigator which has three fixed tabs and dynamically i am creating few tabs. Before creating a tab i wanted to know which all tabs are currently open, basically the name of all the tabs which are open.
    Please let me know how can i achieve this.
    Thanks

    extended from the TabNavigator example in the API docs
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           minWidth="955" minHeight="600"
                           creationComplete="init()">
        <fx:Script>
            <![CDATA[
                private function init():void
                    for (var i:int = 0; i < tn.numElements; i++)
                        var btn:Button = tn.getTabAt(i);
                        trace(btn.label);
            ]]>
        </fx:Script>
        <s:layout>
            <s:VerticalLayout/>
        </s:layout>
        <s:Panel title="TabNavigator Container Example"
                 width="75%" height="75%"
                 horizontalCenter="0" verticalCenter="0">
            <s:VGroup left="10" right="10" top="10" bottom="10">
                <s:Label width="100%" color="blue"
                         text="Select the tabs to change the panel."/>
                <mx:TabNavigator id="tn"  width="100%" height="100%">
                    <!-- Define each panel using a VBox container. -->
                    <mx:VBox label="Panel 1">
                        <mx:Label text="TabNavigator container panel 1"/>
                    </mx:VBox>
                    <mx:VBox label="Panel 2">
                        <mx:Label text="TabNavigator container panel 2"/>
                    </mx:VBox>
                    <mx:VBox label="Panel 3">
                        <mx:Label text="TabNavigator container panel 3"/>
                    </mx:VBox>
                </mx:TabNavigator>
                <s:Label width="100%" color="blue"
                         text="Programmatically select the panel using a Button control."/>
                <s:HGroup>
                    <mx:Button label="Select Tab 1" click="tn.selectedIndex=0"/>
                    <mx:Button label="Select Tab 2" click="tn.selectedIndex=1"/>
                    <mx:Button label="Select Tab 3" click="tn.selectedIndex=2"/>
                </s:HGroup>
            </s:VGroup>
        </s:Panel>
    </s:WindowedApplication>

  • SWFLoader and tab navigation

    Hi,
    In two applications that I'm writing, the content inside a SWFLoader does not participate in the tab navigation. The textfields in the loaded SWF are focusable and I can even detect Tab keystrokes in them, but there is no tab navigation.
    The setup is very simple - an application (in one case mx, another case spark) which contains a SWFLoader.
    I've seen one thread in a dev forum where the solution was to implement a focusmanager. I'm hoping for something simpler...
    Cheers

    All tabbable entities in a Flex app must implement IFocusManagerComponent or
    else they have to override the FocusManager.  If the sub-app is not written
    in Flex you'll probably have to do the latter.

  • Adding Tab, Sub Tab

    Hello All,
    I would like to adding tab and sub tab in Breadcrum.
    The tab also associates with user role.
    Is it possible in APEx? How?
    Thanks in advance,
    EB NY
    Edited by: early bird on Aug 18, 2009 8:44 AM

    For Tabs and Sub Tabs, you can either create normal tabs or you can use a Tabbed Navigation List. For User role implementation you can create authorization schemes and then based on the user roles you can hide/show different tabs.
    Hope it helps. Thanks!
    -Manish

  • 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

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

  • 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.

  • Tab navigation does not show at all in FP 10 it shows in FP9

    Hi,
    I have module that is loaded at runtime,
    it has simple tab navigation with 3 children,
    in FlashPlaer 9 Debug, tab navigation shows fine, even
    thought for some reason it looks like linkbar :)
    also numericStepper looks like inputBox and ComboBox has no
    arrow, (they all look fine in FB 3.2)
    in Flash player 10 tab navigation does not show at all, is
    there any obvious thing that I am missing ?
    I am guessing something terribly wrong with flex styles, but
    I am not overriding any styles,
    my environment :
    vindows Vista 64 bit (although I use jvm 32)
    project is build with latest flex sdk :flex_sdk_3.3.0.4589
    P.S: I cant attach image here, so I will record video
    tomorrow, if that will help.
    thanks in advance
    Levan

    bump :)
    anybody , please please :)

  • How to open the popup with in Tab navigator  working area.

    Hi,
              I using the customized  panel to open it as popup by using  popup manager in the Tab navigator . The popup should be able to  move with in the tab navigator's  content area. Not outside of the tab navigator's  content area. How to do this? .What is the difference between opening the popup by using popup  manager and add children(); which one is best?
    Regards,
    Thiru

    It depends on your purpose. A popup displays information to the user, and it might be modal if the user should repsond to the popup before continuing, but why constrain it's movement to the space occupied by the TabNavigator.
    You could, in theory, check the x and y properties of the popup position, and then compare those with the x and y of the TabNavigator view area, though you might have to do some conversion between global and local coordinates.
    You might want to consider your design. Is a popup necessary? Perhaps not. If so, maybe do not consider constraining its movement as you have indicated.
    If this post answers your question or helps, please mark it as such.

Maybe you are looking for

  • How to find the ME29N 'USER EXIT' when our save the release PO after.

    How to find the ME29N 'USER EXIT' when our save the release PO after. which user exit will be used? thanks. alex.

  • Pen drive partition not detected

    good evening, since i formatted my pen drive on windows with fat16/32 the sticks' partition doesn't show up anymore in /dev. there's just a new /dev/sdx and even cfdisk doesn't like the mbr anymore. so i formatted it on linux with mkfs.vfat to fat16/

  • Number of songs out of sync

    I have a 5th generation Ipod and I am having a problem where the iPod shows 2740 songs when I shuffle all but shows 3140 in I-Tunes. I checked to see if some of the songs had " do not include in shuffle" but this is not the case.I can not understand

  • Can I output all pictures with a white border?

    I like to output a version of the digital files that have a white border around the pictures. In the past I wrote a script in PS to handle that, which involved resizing the images to consistent sizes, and expanding the canvas size to create a border.

  • Adobe Interactive Forms in Java WebDynpro opens as separate app

    Hi, I created a WebDynpro component where I embedded an interactive form. It works in that sense that the form is populated. But the form opens as a separate window. It is not shown in place. Is there a known problem or do I have to install an additi