ADF UI Shell Controlling the tab launch

Hi Everybody
I have a tree component displayed in the navigational area of the UI shell. The tree displays, let say employees. I need to open a new tab for the distinct employees, However if the user click on same employee multiple times then it should open in the same tab. I set the parameter reuse instance = true in the OpenMainTask because i need to launch the the distinct employees in different tab, But i am not able to control it if we click on the same employee multiple times.
Any help or links would be greatly appreciated.
Thanks,
Harish

The source code for the UI Shell is available here (search for .zip in the page): http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html
Basically make your own cut of the shell, and add whatever functionality you want to the page template.
CM.

Similar Messages

  • Using Key down to control the Tab Control on the front panel

    Greetings everyone,
    Like the question ask how do i control the Tab control's tabs using the key down of the event structure...I dont want to use any of the fuctions keys..i have seem a lot of other sample like the one that i have attached it can only alternate between page 1 and page 2 what if i have a lot of pages and i want to use key down function to switch across the pages.
    Attachments:
    Tab_switch.vi ‏28 KB

    Try something like the attached modification.Message Edited by altenbach on 03-13-2005 04:04 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Tab_switchDOWN.vi ‏32 KB

  • Dynamic Tab UI Shell: controlling the Close icon

    Hi,
    When I open dynamic Tab in page, along with the Tab, close icon will appear to close the Tab.
    By default I have to show a Tab that should not be closed at any time.
    Could anybody suggest how to implement this?
    Thanks,
    Vinod

    The source code for the UI Shell is available here (search for .zip in the page): http://www.oracle.com/technetwork/developer-tools/adf/uishell-093084.html
    Basically make your own cut of the shell, and add whatever functionality you want to the page template.
    CM.

  • Controlling the Tab key

    My application is build from a number of application
    components. Search on the left, edit component on the right.
    The edit component is a custom canvas with 1 or more text
    input controls to display the
    data. The text input controls are added dynamically based on
    the data content. What I want to
    do is to precisely control what happens when the tab key is
    pressed, without tabbing out of the edit application component into
    another component. (like my search component).

    Hey..
    i have tried and got the solution:
    We can do our coding in LCOIHFI1 include.
    In
    FORM EKORG_DEFAULT_FILL USING    HEADER LIKE CAUFVD
                                     P_AFVGD LIKE AFVGD.
    Thanks,
    Prem

  • Using multiple events structure inside state machine to control the Tab

    Hi y'all,
    Anne here.I have a Tab indicator in my front panel and I want to be able to control the flow of my program based on what controls I clicked inside the tab. I am using a state machine architecture and inside every state, I use an event structure to check for user interaction  to determine the next state and what tab page is going to be displayed next. This means that I am actually using multiple event structures in my application and I use them in just one while loop, but just that they are not running in parallel since I am only using "one event structure per state" which means that only one event structure is running at one time. My questions is, programming technique wise, am I doing it correctly? So far, I am not facing any problem (I am still in the early stage of the project) but I want to check with you all first on your opinion regarding this architecture. Will there be any issue on using multiple event structures in a vi? Since I will be using a tab, and the controls available in the tab will be the controls that will control my event structure for that state, by right, there should be no issue. Am I correct to assume this? Is there any limit on the use of event structures? I have attached here a simple sample of the architecture that I am talking about for your reference. I have attached a 2010 version and a 8.6 version. Let me know what you think or any opinions that you may have.
    Hoping to hear from you soon! Thanks so much in advance!
    Cheers!
    Anne
    Attachments:
    State Machine-Event Structure Sample_2010.vi ‏19 KB
    State Machine-Event Structure Sample_8.5.vi ‏25 KB

    Hi jak888,
    I decided to use tabs cause I don't want to have subvi pop ups every time i need to perform the process in the state and show an update in the front panel. This is actually going to be more of an ATE where you will have to choose first whether the one using is the operator or the engineer. If the operator is logged in, she will proceed to choose what test to run (this state will have its own event structure). This part, I don't want a pop up, so what happens is that from Login page, if the user logs in as operator, the tab will automatically switch to the Test Selection page. After selecting the test, it will proceed to Start Test state and the tab will show the Result Summary page. If the user logs in as engineer, then a totally different tab will be automatically shown next and so on. By doing this, I will be able to show an update on the front panel objects without having the subvis pop up. I will also just need to use the call reference functions to call my subvis, making my Main VI more generic. The tab Page header will be hidden so the operator will actually not see that there is a tab and that there are a lot of controls and indicators cause they are hidden in the tabs and that page will only be shown based on what they selected from the main tab. 
    I appreciate your thoughts! thanks so much!

  • How to control the tab control using event structure?

    Hi,
    I am using tab control and event structure in the program.
    When i run the application event is not happening for the active page.
    When user switches from active page to the other page then event is taking place for all pages
    So, how to get the event trigger for the active page when the application is started
    For more clarification i am attaching the code "Test Control Tab using Event Structure.vi"
    Attachments:
    Test Control Tab using Event Structure.vi ‏52 KB

    You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW.
    The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again.
    If the stop is pressed first, the VI will stop. Game over.
    If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events. The VI is trapped inside the event until stop is pressed to stop the VI.
    you were closer to a reasonable program in the other thread:
    http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=287905
    Have you tried execution highlighting? Maybe things would become more clear of you do.
    LabVIEW Champion . Do more with less code and in less time .

  • How to Control the "tab order" in Adobe Captivate 8?

    Hi Guys,
    I was just trying to insert "tab order" to the module that I am creating using Adobe Captivate Version 8. I was not able to insert the tab order feature when I switched to the responsive project mode (project for Destop, Tablet, and Mobile).
    Kindly guide me to insert tab order. I have checked all the online resources but was not able to find the relevant steps to create "tab order" in Captivate 8.
    Thanks!
    Peace

    Hi,
    You can set the Tab order for Interactive objects from the Properties panel:
    This will open a dialog where you can arrange the order for all the interactive objects on your slide.
    Hope this helped!
    Regards,
    Mohana

  • How do I control the tabs appearance like ColorfulTabs does with Firefox

    My Tabs for Open Messages are very generic; i.e its almost impossible to differentiate between which one is Open and which ones should be in the background. Colourful Tabs for Firefox is the kind of options I need.

    You could change the colour of the selected tab, if that is what you mean.
    Make a userChrome.css file that will go into a subdirectory in the profile, named chrome. The code to put into that file:
    <code>/* Do not remove the @namespace line -- it's required for correct functioning */
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    tab[selected=”true”] { background-color: #80FF80 !important; }</code>
    If you do not want the selected tab to be green, change the code for the colour.

  • How to control the tab key navigate on the parameter ?

    Hi all,
    I have list of 20 parameter value which needs to be filled by the user when the report is being called. I have put the layout in the horizontal width where field1 - field 5 was in a column, field6 - field 10 another column, field11 - filed 15 again another column. So, when user is trying to enter parameter value, it suppose to go thru column by column but now after enter 1st value in the parameter form. The cursor is jump to second column, and I was unable to way how the navigate of column in report. Is there any way to control it such as in the oracle form ?
    Please help me. Thanks.
    Lim

    I don't think so.

  • Controling the PM ORDER tabs and subscreen

    Hello
    We are trying to customize PM ORDER.
    We looked for a way in which we could control the appearance of tabs and subscreens in customization and found none.
    We found that ther is a BADI IWO1_SCREEN_MODIF that seems to be for that purpose.
    Is it the only way or there is a way like when customizing notification.
    Second question is about the notification fields when creating a PM ORDER that creates a notification. We have not found any way of controling the tabs and subscreens.
    Best regards
    Shlomo Assouline

    Hi Shlomo Assouline,
    GuiXT is a SAP Partner software integrated with Standard SAP.
    This helps in Changing the Field names, Location, Screen Layout etc with out any program and with simple syntax.
    It gives amazing results if done properly. It has a big drawback too. It is PC specific & cannot be controlled based on who logins etc. But if you want same screen through out your Business the small TXT file created can be copied into other PC (personal Computer) as well.
    For detailed information on this see the link www.synactive.net. It has some Tutorials too there.
    The path in SAP to activate it is Click on "Customise Local Layout" the button adjacent to Help button after you logon.
    Under that you will see "Activate GuiXT". From there on you can proceed. When you do not require switch it off as it is Toggle Button.
    Regards,
    MLN Prasad

  • Control/change tab order

    How does one control the tab order (the order in which controls are visited when the TAB key is pressed) in a JavaFX 1.3.1 application?
    It isn't always the case that one wants the tab order to be the same order as used in the layout.

    Thanks a lot for your help guys.
    Let me explain a little bit more my problem, maybe you guys get a good way to do this.
    Ok, I have a tab control with 4 tabs (Auto Mode, Manual Mode, Troubleshooting and Configuration) in that order. In the "Auto Mode and Manual Mode tabs I have a selector switch to select the operation mode (auto or manual). Now, when I have the switch in auto mode, the manual mode tab page is hidden, when I change the selector switch to manual mode the manual mode tab page is unhide, the auto mode tab page is hide and the manual mode tab page is automatically selected. This happens because my manual mode page is the second one and when the page before is hidden the next one get active. The problem came up when I change the switch back to manual mode. I want that the auto mode page unhide, the manual mode page hide and the auto mode page get active, but instead the page that came active is the troubleshooting page since this is the one after the manual mode page.
    So, what I was planning to do was to rearrange the pages order when auto or manual mode are selected so that the second page be always the hidden one.
    Maybe I confuse you guys more, but that'sthe idea. If something came out of your mind, I really appreciate the help.
    Ferdinand Martinez
    FMO Automation LLC

  • Controlling the menubar and toolbar in Dynamic tab shell.

    Hi,
    I am using the Dynamic tab shell template in my application, and will load the page fragments (in a new tab) in the adf region embeded in the shell page as and when required. I have defined the 'menu bar' and the 'toolbar' with their items in the 'globalToolbar' facet of the template hence they are rendered in all the pages. My requirement is that I want to control the 'toobar' and 'menubar' from the page(fragment) I am in. That means, I want to 'enable/disable', 'show/hide' the menu items/toolbar items depending on the page fragment I have loaded. Is there a way to achieve this?
    Thanks.

    Sorry, it just works this way. I made a test page
            <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx" value="#{bindings.pageTemplateBinding}" id="pt1">
              <f:facet name="copyright"/>
              <f:facet name="about"/>
              <f:facet name="navigation"/>
              <f:facet name="globalLinks"/>
              <f:facet name="status"/>
              <f:facet name="globalToolbar"/>
              <f:facet name="globalSearch"/>
              <f:facet name="globalTabs"/>
              <f:facet name="welcome"/>
              <f:facet name="innerToolbar"/>
              <f:attribute name="logoImagePath" value="/images/LOGO.jpg"/>
            </af:pageTemplate>and can see the image. You might not see the image at design time, but once you run the page the image shows up OK.
    Timo

  • ADF: Tab needs to be refreshed when I revisit the tab with Dynamic Tab shell

    Hi ADF Experts,
       we are using dynamic tab shell template in our project.I have many tabs opened in page ,When I navigate from one tab
    to another tab , current tab needs to be refreshed.
    when I navigate from tabs below mwthod will execute.
      public void tabActivatedEvent(ActionEvent action)
        RichCommandNavigationItem tab =
          (RichCommandNavigationItem) action.getComponent();
          Integer tabIndex = (Integer) tab.getAttributes().get("tabIndex");
          List<Tab> tabs = getTabs();
          Tab currTab = tabs.get(getSelectedTabIndex());
          if (currTab.isDirty())
            //JRS set the dirty tab as the current tab, so when the dialog handles 'YES'
            // it will be getting the correct tab index to close
            setSelectedTabIndex(getSelectedTabIndex());
            _showDialog(getTabDirtyPopup());
            return;
        setSelectedTabIndex( tabIndex);
      public void setSelectedTabIndex(int index)
        _tabTracker.setSelectedTabIndex(index);
        initTrackTabDirty();
        refreshTabContent();
      public void refreshTabContent()
        AdfFacesContext.getCurrentInstance().addPartialTarget(getTabsNavigationPane());
        AdfFacesContext.getCurrentInstance().addPartialTarget(getContentArea());
    Help me if anyone knows how to achieve this.
    Thanks in advance.

    Hi,
    well, you refresh the tab but not its data. To refresh the data displayed in the tab you need to reset the region. For this, on the af:region reference of the tab, you need to call the "refresh()" method
    Frank

  • ADF UI Shell Pattern- How to pass parameter to the called bounded taskflow?

    The sample Launcher class of the ADF UI Shell template has the following code:
        private void _launchActivity(String title, String taskflowId, boolean newTab)
          try
            if (newTab)
              TabContext.getCurrentInstance().addTab(
                title,
                taskflowId);
            else
              TabContext.getCurrentInstance().addOrSelectTab(
                title,
                taskflowId);
          catch (TabContext.TabOverflowException toe)
            // causes a dialog to be displayed to the user saying that there are
            // too many tabs open - the new tab will not be opened...
            toe.handleDefault();
        }How do I pass a parameter to the bounded taskflow that will be launched?
    For example:
    1) I have a list of employees displayed on a tab.
    2) When I select a record and click an edit button inside the tab, A separate tab should open with the corresponding employee to be edited.
    How then could I pass the employee id to the edit-employee-task-flow?
    I can't think on how/what would a "calling taskflow" come into this picture?
    help!
    pino
    Edited by: pino on 16-Dec-2009 05:57
    Edited by: pino on 16-Dec-2009 09:59

    Hi Arunkumar,
    Thanks for the info. I was actually using EJB DataControls, and something similar to what you have suggested can also be done programmatically, but I wanted to follow the one promoted in the Fusion Developers' Guide to take advantage of the "ADF task flow framework" (like pass-by-value, pageflowScope, etc.) especially that we were having problems when we will just follow the procedures that was presented in the tutorials(I mean that- not all the procedures in the tutorials will work on an application based on the UI Shell pattern which do have multiple active taskflows.).
    For instance, you have an active List of employees in one tab, and two other tabs that try to edit employee records. If these employee list and employee edit forms are based on a single iterator binding, then what would happen to the information in the two edit forms on each separate tabs if you selected another row on the employee list tab? -- In our case, the edit tabs' values synchronized to the new selected row in the list tab.
    There are sure many work-arounds for these, but I am looking for a cleaner, clearer, or best way to handle this scenario.
    regards,
    pino

  • Feedback from the Tab Control

    I have 3 tabs, and each one runs a sequence, in a case associated with the tab control. When I start my program, the sequence found in the active tab (case) runs. I have put 3 Stop buttons (one per tab) to stop each of cases (actually to stop a loop there). After stopping a sequence on a tab, I can press on another tab and change this way the running sequence.
    Now, I'd like to stop any running sequence in a tab's case by just pressing on another tab and this way starting the sequence associated with that tab. This would eliminate the Stop buttons. But how to do it, because just the selection of another tab with the operating tool neither triggers an event nor launches the case associated with that tab?
    I use LabView 6.1 under Win2K. TIA.

    In each of the loops that you monitor the stop buttons, inspect the local value of the tab control and compare it for changed value or the value of your specific case. In either case the logic is the same as your stop button. While( !StopButton AND !TabChanged)
    Stu
    Stu McFarlane
    Viewpoint Systems, Inc.

Maybe you are looking for

  • Scheduling in R/3

    Hi All, We developed a scenario, multiple IDoc-XI-single File using BPM. Please help us in scheduling, following are the questions we have: a. What is the efficient way of scheduling in our scenario? b. How to setup scheduling in R/3? c. In XI-BPM, w

  • HTTP to ABAP Proxy - Problem with "Current User" parameter

    Hi experts, We have a HTTP to ABAP proxy sceario, where I used an HTTP Destination to connect to the proxy. We're trying to use the option "Current User" in that destination in order to login to ECC with the same user that in PI adapter plain. The us

  • MySQL + Java doesn't work

    I've been trying to get a connection using MySQL and Java without luck, I've been messing with every solution I have found in google without luck. It worked the last time I used mysql + java a few months ago (in Ubuntu) but now I can't even get a con

  • I updated to 1.0.2 and all my album cover art disappeared

    i've tried several times now to reset it by telling it not to show cover art, syncing, then telling it to show it and syncing again. however, unlike in the past (with 1.0.1) it hasn't worked. I'd reset the whole thing, but it took me about a week to

  • Photos-App: How do I find out which photos are used in a Shared Photo Stream?

    Hi folks, I just ecountered a "problem" using a Shared Photo Stream. FYI: I have circa 1.200 images stored in Photos-App. About 360 of them are used in a Shared Photo Stream. Now I'd like to delete all the fotos NOT used in said Stream. Since the ima