TabNavigator Tab content refresh

Hi,
I have a TabNavigator with let's say two Tabs - TabA and TabB along with its contents. Both tab contents read and change xml on which their both contents depends. If i click TabA, then on TabB in which content i modify xml and then return to TabA which also depends on that xml but change won't be reflected like TabA content is not refreshed :/ So i am not sure how to handle that, how can i accomplish that Tab content refreshes every time i click on Tab?
Thanks,
Best regards

Hi,
I have a TabNavigator with let's say two Tabs - TabA and TabB along with its contents. Both tab contents read and change xml on which their both contents depends. If i click TabA, then on TabB in which content i modify xml and then return to TabA which also depends on that xml but change won't be reflected like TabA content is not refreshed :/ So i am not sure how to handle that, how can i accomplish that Tab content refreshes every time i click on Tab?
Thanks,
Best regards

Similar Messages

  • Programatically disclosing tab does not cause tab contents to be displayed

    I'm using Jdev 11g, update 2.
    I have a page with a panelStretchLayout. The Start facet has a tree component. The Center facet has a panelTabbed component with 2 showDetailItems, each with different panelForms.
    Manually clicking on the tabs shows the correct contents.
    The tree has a SelectionListener mapped to a managed bean method. When a node is selected, the bean method sets one of the showDetailItems to disclosed.
    There is PRR for the showDetailItems based on the tree.
    This code does cause the right tab to become current. The problem is that the tab contents do not also display IF that tab was not previously the disclosed one.
    An example:
    Tree shows Departments & Employees, The first tab shows the selected Dept from the tree in a form, the other shows the selected Employee from the tree in a form.
    When the page is run, the Dept tab is disclosed by default because it is the first one.
    Select a Dept in the tree. The Dept tab remains disclosed and the correct Dept is displayed.
    Select an Emp in the tree. The Emp tab become disclosed but it is blank. The Emp form does not appear.
    Select a Dept in the tree to reset tabs.
    Now manually click the Employee tab. The Employee formis displayed correctly with the last Emp selcted from the tree.
    Select a Dept in the tree. Now the Dept tab becomes disclosed but it is blank.
    My first thought was that this is a PRR problem with the tab children. But I've tried setting PRR on the panelForms so they are refreshed when the showDetailItems are refreshed. That didn't help.
    I've also tried setting the rendered and visible properties for the tab child (form) programatically. No luck.
    My current code for the selectionListener is:
    public void setSelData(SelectionEvent selevt)
    RichTree tree = (RichTree)selevt.getSource();
    RowKeySet sel = tree.getSelectedRowKeys();
    Iterator seliter = sel.iterator();
    while (seliter.hasNext())
    Object rowKey = seliter.next();
    tree.setRowKey(rowKey);
    FacesCtrlHierNodeBinding node =
    (FacesCtrlHierNodeBinding)tree.getRowData();
    String viewDefName = node.getHierTypeBinding().getStructureDefName();
    if (viewDefName.contains("Dept"))
    setSelDeptNo((oracle.jbo.domain.Number)node.getAttribute("Deptno"));
    OperationBinding ob =
    (OperationBinding)bindings.get("setCurrentRowWithKeyValue1");
    ob.execute();
    } else
    setSelEmpId((oracle.jbo.domain.Number)node.getAttribute("Empno"));
    OperationBinding ob =
    (OperationBinding)bindings.get("setCurrentRowWithKeyValue");
    ob.execute();
    if (viewDefName.contains("Dept"))
    panTab.getChildren().get(0).getAttributes().put("disclosed", false);
    panTab.getChildren().get(1).getAttributes().put("disclosed", true);
    empsTab.setDisclosed(false);
    empsTab.setDisabled(true);
    deptsTab.setDisabled(false);
    deptsTab.setDisclosed(true);
    } else
    deptsTab.setDisclosed(false);
    deptsTab.setDisabled(true);
    empsTab.setDisabled(false);
    empsTab.setDisclosed(true);*/
    panTab.getChildren().get(1).getAttributes().put("disclosed", false);
    panTab.getChildren().get(0).getAttributes().put("disclosed", true);
    }

    That was it. I don't need to set up PPR for the showDetailItems either - just the panelTabbed. I'll remember to walk up and try PPR on all the parent components next time. Thanks.

  • Dynamic tab content

    Hi All,
    I have a tabNavigator with only one tab and i am creating a new tab whenever user clicks “Add New Tab” button.
    I want to create a DataGrid inside the newly created tabs. I have created a grid.mxml file which contains my DataGrid .
    Now the problem is how to include grid.mxml as a tab content?
    can anyone please help me with this?
    Thnaks in advance
    Javed

    Hi Otto,
    The view usage name is the name of the view suffixed with '_usage_1'.
    eg: if your static view name is 'V_STATIC' then the view usage name would be 'V_STATIC_USAGE_1'.
    if you want to navigate to the view automatically then use the method do_dynamic_navigation, however this shouldn't be used within the method wddomodifyview( ).
    if you are using prepare_dynamic_navigation( ) then the outbound plug needs to be fired explicitely.
    Hence you can save your view reference as a global attribute the first time the application is loaded and later on use it in any method to create dynamic ui elements and finally call the method do_dynamic_navigation, in this way we wouldn't be doing navigation from within wddomodifyview.
    Regards,
    Shweta

  • RH7: Project Manager Tab keeps refreshing continuously

    I have upgraded my project from RH5 to RH7. There were in all 65 projects (.xpj) files that I upgraded. However, i have this issue with some of the files. When I open the xpj file, the Project Manager tab keeps refreshing. I cant scroll and select the files that are towards the end because the moment I click the scroll bar, the the tab refreshes and I cant click on the file.
    Most of the files that I upgraded work fine.
    Please suggest a solution. Thanks.

    Have you tried renaming the CPD and reopening RH to make it create a new one?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I cannot access the PRIVACY menu from the Tools-Options menu to make changes to cookies and history. I can access every other menu on that page (General, Tabs, Content, Applications, Security, and Advanced. But Not PRIVACY. Please help.

    I need to reset/change/clear my cookies, probably clear my cache, and change my history preferences. When I use the Tools-Options choice to bring up the appropriate menu (General, Tabs, Content, Applications, Privacy, Security,and Advanced) all allow me access to make changes (or not), the PRIVACY tab does not open up. It does no allow access to any info contained there in. It is like it doesn't exist or isn't even there. Also, in the Tools menu on the Firefox toolbar, both "Stop Private Browsing" and "Clear Recent History" are grayed out. What gives? Thank you for your help.

    This can be caused by in incompatible/malfunctioning add-on. To test if this is the case follow the procedure in the [[troubleshooting extensions and themes]] article.

  • Display tab content in Developer Studio 7.1

    Hello all,
    I've updated to Developer Studio 7.1 and imported my Web Dynpro Project from 7.0. So far, so good!
    But, if I want to display the tab contents of my main view, I only can see the content of the 1st tab in the View Editor.
    How can the content of the other tabs be displayed in the View Editor? Double-Click on each tab doesn't work... Is there any trick?
    Regards,
    Jens

    In the Outline view, right-click the "Tab" and select "Show".
    Armin

  • Tab content is empty when tab is dragged

    I have two TabPanes which can move tabs each other. This is the code of the TabPane which receives the dragged tabs from the user:
    tabPane.setOnDragDropped(new EventHandler<DragEvent>()
                @Override
                public void handle(DragEvent event)
                    final Dragboard dragboard = event.getDragboard();
                    if (dragboard.hasString()
                            && TAB_DRAG_KEY.equals(dragboard.getString())
                            && DragBuffer.getDraggingTab().get() != null
                            && DragBuffer.getDraggingTab().get().getTabPane() != tabPane)
                        final Tab tab = DragBuffer.getDraggingTab().get();
                        tab.getTabPane().getTabs().remove(tab);
                        tabPane.getTabs().add(tab);
                        tabPane.getSelectionModel().select(tab);
                        event.setDropCompleted(true);
                        DragBuffer.getDraggingTab().set(null);
                        event.consume();
    I noticed that when I drag the tab into the target TabPane the content of the tab is empty. But when I swith to the next tab of the target tabPane and return back I can see the content. This is couced by this line:
    tab.getTabPane().getTabs().remove(tab);
    Can you tell me how I can change the logic in order to prevent the empty tab body?
    Ref javafx 2 - Tab content is empty when tab is dragged - Stack Overflow

    This looks like a bug; I see the same thing in the context of your other thread. I can't seem to find a workaround. I have some sample code below which demonstrates the same problem without cluttering the code with drag and drop. This should move the selected tab in the bottom tapPane to the top tabPane ("Up" button) or the selected tab in the top tabPane to the bottom tabPane ("Down" button). When a tab is moved it is automatically selected; moving a tab to the top tabPane fails to show its content. (Strangely, moving a tab to the bottom tabPane works fine.) You should probably file a JIRA; reference this thread ("discussion" in the new forum-speak).
    import java.util.Random;
    import javafx.application.Application;
    import javafx.beans.binding.Bindings;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.Label;
    import javafx.scene.control.Tab;
    import javafx.scene.control.TabPane;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.Pane;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class TabSelectionTest extends Application {
    @Override
      public void start(Stage primaryStage) {
      final TabPane tabPane1 = new TabPane();
      final Random rng = new Random();
      final int NUM_TABS = 4 ;
      for (int i=1; i<=NUM_TABS; i++) {
        tabPane1.getTabs().add(createTab(rng, i));
      final TabPane tabPane2 = new TabPane();
        for (int i=1; i<=NUM_TABS; i++) {
          tabPane2.getTabs().add(createTab(rng, i+NUM_TABS));
      final Button moveToPane1Button = new Button("Up");
      final Button moveToPane2Button= new Button("Down");
      final HBox buttons = new HBox(10);
      buttons.getChildren().addAll(moveToPane1Button, moveToPane2Button);
      moveToPane1Button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Tab selectedTab = tabPane2.getSelectionModel().getSelectedItem();
            tabPane2.getTabs().remove(selectedTab);
            tabPane1.getTabs().add(selectedTab);
            tabPane1.getSelectionModel().select(selectedTab);
        moveToPane2Button.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Tab selectedTab = tabPane1.getSelectionModel().getSelectedItem();
            tabPane1.getTabs().remove(selectedTab);
            tabPane2.getTabs().add(selectedTab);
            tabPane2.getSelectionModel().select(selectedTab);
        moveToPane1Button.disableProperty().bind(Bindings.isEmpty(tabPane2.getTabs()));
        moveToPane2Button.disableProperty().bind(Bindings.isEmpty(tabPane1.getTabs()));
        VBox root = new VBox(10);
      root.getChildren().addAll(tabPane1, buttons, tabPane2);
      primaryStage.setScene(new Scene(root, 600, 500));
      primaryStage.show();
      private Tab createTab(Random rng, int i) {
        Tab tab = new Tab("Tab "+i);
        Pane pane = new Pane();
        pane.setMinSize(600, 400);
        String style = String.format("-fx-background-color: rgb(%d,  %d, %d);", rng.nextInt(256), rng.nextInt(256), rng.nextInt(256));
        pane.setStyle(style);
        pane.getChildren().add(new Label("This is tab "+i));
        tab.setContent(pane);
        return tab ;
      public static void main(String[] args) {
      launch(args);

  • Data tab content blank in debugging

    Hello,
    On sql developer 3222009
    At debugging a plsql store procedure, everything is doing well but when the code go to an internal procedure the data tab content became blank.
    Thnaks
    Nelson

    Jeff
    Internal procedure that I mean is a procedure inside a procedure, like a inner procedure.
    When we are in the "main" procedure the content appear normally but when the control of execution goes to one inner procedure, the content of the data tab is in blank, empty.
    Thanks
    Nelson

  • How to Display Repeat List In Spry Tab Content

    Hello,
    I am new to Spry. I thought I could just create an XML
    dataset, Insert a Spry Tabbed Panel, and then insert a Spry repeat
    list inside the Tabbed Content area of the Tabbed Panel. It is not
    working at all for me. Is this doable at all? If so, how?
    Thanks!

    hi,
    i have created an example in http://apex.oracle.com/pls/apex/f?p=44310:1:3623155419174978:::::
    username/password: demo/demo
    check, it may help you:)
    *please mark the thread answered if it done:)
    regards
    Little Foot

  • Links to spry tab content

    Within one html file divided into Spry-tabs, I set a named
    anchor in tab-content <div> of one tab and try to link to it
    from within a different tab-content division of the same page.
    Doesn't work - just sends me to bottom of division in the which
    link is located. Surely this is doable -- Am I missing some simple
    point?

    bob_atlanta wrote:
    > Within one html file divided into Spry-tabs, I set a
    named anchor in
    > tab-content <div> of one tab and try to link to it
    from within a different
    > tab-content division of the same page. Doesn't work -
    just sends me to bottom
    > of division in the which link is located. Surely this is
    doable -- Am I
    > missing some simple point?
    You have to know which tab the anchor is within and then you
    can show a specific tab. Check out the code on this page:
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_unobtrusive.htm
    FYI: Spry questions are probably best asked in the Spry
    forum:
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | WebAssist Extensioneer
    | Adobe Community Expert

  • Editing  spry tab content  using  adobe contribute 4

    Hi Everyone,
    We have used Sprytabs for different tabs section for there respective pages.
    We are using Contribute CS4 for editing spry tabs content, But after study I have figured that we can't edit
    sprytabs using Contribue CS4
    Is there any way in contribute that we can edit Spry tab content in contribue CS4
    Thanks in advance!
    Rohit Yog

    Spry widget editing is allowed from Adobe Contribute CS5 version only. Please refer to http://blogs.adobe.com/contribute/2010/06/spry_widget_rendering.html

  • PHP Form in Spry Tabbed Content Div

    I have placed some PHP forms inside some Spry Tabbed Content
    divs. When the forms are submitted, the page reloads with the
    default tabbed content displayed instead of the tab where the form
    is. If I click to the tab with the form, I can see the information
    PHP properly returned.
    Does anybody know how to make the Spry Tabbed Content script
    return to the tab that had focus when a PHP form is submitted
    instead of the default tab?
    Thanks in advance for any advice.

    Hi,
    On the main forum page you will have read the following.
    Announcement: New to Spry, or  the Spry forums?
    Hide Details
    Before you post a topic please verify that:
    You are using the latest Spry files
    The latest version of the Adobe Spry Framework is 1.6.1, this is the same version that ships with Dreamweaver CS4. If you use Dreamweaver CS3 (uses Spry 1.4), its wise to upgrade your files to the latest version. This can easily be done using the Spry Updater that can be found here.
    After you have upgraded and not removed the remarks from the Spry files, we will have another look at it.
    Ben

  • SPRY tabs content loading

    I am using SPRY tabs to display static content. I have 4
    tabs. When the page loads the content on all 4 tabs shows up one
    below the other.
    Could anybody suggest how I can stop that. The content for
    first tab should only show up on page load.
    Other tab content should load when that tab is
    clicked.

    My tabs work but the problem I have is that the content of
    all tabs loads when the page loads making it extremely slow.
    I've got galleries in the tabs, tab1 2008 tab 2 2007 tab 3
    2006 and photos in each gallery all load together.
    On another site I did I managed to get it to load the images
    in the tab when the user clicks on the tab speeding up initial load
    times for the page but I can't remember how I did it, it was
    accidental!!!

  • Apple, please fix safari random crash and tab auto refresh

    Apple, are those issues ever going to get fixed? They destroyed iOS 7's usability and the latest 7.1 beta doesnt seem to address either.
    1) Safari randomly crashes -  happens multiple times a day. Sometimes opening new pages, sometimes scrolling through existing page.  This issue has NEVER happened on iOS 6.
    2) Tabs auto refreshing when you switch from 1 tab to the next - it is EXTREMELY annoying, for example when i was typing up a post in a tab or looking at the result of a long search, then need to lookup something else so i open up a new tab, then when I go back to the original tab, it automatically refreshes wiping out everything i just typed or the searh result.  This issue has NEVER happened in iOS 6.
    I am using ipad air with the latest update. Please fix them, it's unacceptable.

    This is a user-to-user forum hosted by Apple. You are only talking to other users here not Apple.
    If you have a suggestion for Apple use: http://www.apple.com/feedback/ipad.html

  • Statci content refresh on portal.

    hi gurus,
    Enterprise portal question here..!
    Am deploying static files (html) on my portal under usr/sap/sid/inst/j2e/cluster/sever*/apps/sap.com/irj/servlet_jsp/irj/root/staticcontent , we have 1 ci + 4 apps and 29 server nodes total.
    So we got to deploy this on all the nodes which is time consuming process and clear cache from Visual admin for each node.
    Could anyone shed some light if we can do the content refresh for all teh nodes at once from the main /irj/portal page. I couldnt find anything under system administration options.
    Please assist.
    Thanks,
    Durga.

    Hi Durga,
    The idle method of deployment in case of more number java server nodes and x number App Servers implemention.
    stop all App Servers instances and keep only CI online.
    Then logon using Administrator/equaliant authorized user
    Deploy your content.
    Start CI
    restart CI
    start DI (App Servers)
    here CI now takes care of keeping all App Servers in sync with the content of CI.
    I hope this gives enough guidence for you to accomplish your task.
    Regards
    Sekhar

Maybe you are looking for

  • Am unable to get the data from Sys.databases when i use where condition for column owner_sid

      Hi all, Help me here when i try am unable to get a data,Can some one help me with a query to get. If it cant be done can i know why..  select * from Sys.databases   where owner_sid='0x01' What am trying is to get a login names from syslogin table w

  • How can I remove a sound device?

    I downloaded some software to try to change my voice during skype calls so I can mess around with my friends, but the softwares didn't work, so I fully uninstalled them, but these devices keep showing up in my sound output/inputs and it is rather ann

  • New Hard Drive Errors for Logic Studio????

    I have just replaced my system drive and used Carbon Copy cloner to clone to the new drive from my back up.  For some reason when I attempt to open certain Locig songs, I get an error message that says "Registry error, please ensure this product has

  • Text reverts to Monaco

    Whenever I use Appleworks I select Verdana (or whatever) in preferences and choose it as default size 12, but next time I open AW or open a new page, it always is back on Monaco size 10! Please can someone help? Thanks.

  • What is the use of the key date in filters in IP?

    Hi all, can anybody tell me what the key date on the filter in the planning modeler is good for? It seems to be always overwritten by either the key date in the query or the one set for the infocube in the planning modeler. Even if I don't set a key