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

Similar Messages

  • There used to be a special feature on the previouse versions of Firefox. when you close the firefox with multiple tabs opened it displays an option of saving it or closing without saving. but this version specially the 7th doesnot have that.

    specially version 3.6 is good on saving the tabs before closing the firefox. but the latest versions should have had more that just this but it doesnt support the saving tabs or may be i didnt see it there. please if it has this feature let me know.
    the other thing is the norton toolbar 2011.7.1.3 is incompatible with firefox 7.

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Using the "Show my windows and tabs from last time" setting is a more reliable way to restore session data.
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Why does my screen blank and need to be refreshed when I switch between multiple open tabs and is there a fix to this?

    If I have one tab open at a site, and then open a new tab to a different website, when I click back on my other tab the screen is a blank gray color and I have to refresh it to get the site back. This happens almost every time I switch between my open tabs, no matter which tab I am going back to. I am not having this problem in any other browsers. This has only started happening in the last couple of months and it has gotten really annoying. Does anyone know how I can stop this?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Hello,I have done this successful in the past but on my IPad it shows I have 4 apps that need to be updated so when I hit the update tab all I get is a white screen. When I hit the purchase or other tabs it opens up. What could be the problem?

    ****,I have done this successful in the past but on my IPad it shows I have 4 apps that need to be updated so when I hit the update tab all I get is a white screen. When I hit the purchase or other tabs it opens up. What could be the problem?

    There have been numerous reports on the forum today regarding this issue. It seems to be an issue at Apple, but no information has been posted on the status site.
    http://www.apple.com/support/systemstatus/

  • ADF Pgaes with Dynamic Tab Shell not rendering in iPAD 1+

    Hi,
    We have used Oracle Dynamic Tab Shell templates to build our Dashboard page with multiple dynamic tabs.
    One year back when we initially created the main Dashboard with Dynamic Tab Shell and used UIShell API's to open new dynamic tab on click of command links in left hand side navigator. We started with Jdev 11.1.1.3 and we upgrade till Jdev 11.1.1.5.
    Now recent requirement is, we need to test our applications in Safari browser within iPAD(2.0). While testing we observed below issues.
    1) The JSPX page with Dynamic Tab Shell is keep showing "Loading..." We had to refresh the Safari browser twice to render the page.
    2) Any af:commandLink as part of the JSPX which has dynamic tab shell template, not working. We have bunch of links on left navigator and on click of each link will open a new dynamic tab(we use UIShell API) . Nothing happens on click of those af:commandLinks.
    3) We have "Home" and "Logout" links on top right corner. Nothing happening on click of those links too.
    All these like af:commandLinks and af:commandButtons working as expected when we have them in side a JSPX page w/o dynamic tab shell.
    Tested and observed same behavior both in iPAD 1.0 and newer version iPAD 2.0.
    We desperately need help on thin. Pls let us know, if i need to provide more details. Is there any specific configurations required to make it work in Jdev 11.1.1.5? At this point we can not upgrade our Env to 11.1.1.6 or 11.1.2 as we already have these Apps in Production and we should give the users flexibility to use it in iPAD.
    Please help!!
    Thanks!!
    Subba.

    Hi Jaun,
    Thanks your response.
    Yes- I have seen the support for iPAD and iOS are more enhanced it in 11.1.1.6 and later versions.
    But we already hosted our apps in Production which is currently 11.1.1.5. We have complex workflows designed in SOA suite too.
    Now, if we need to upgrade to 11.1.1.6, we need to basically do validate/test all our applications on new release and it cost us. CLient may not approve for upgrade as of now.
    Is there any guidance or way for customers like us who are on 11.1.1.5 version, to get the ADF features and support for iPAD or iOS? Kind of backward compatible patches kind of thing?
    Do we need to log a SR on ORACLE?
    Please suggest!!

  • Why doesn't the rotate gesture on my trackpad behave as it used to for switching between tabs when it works the same with all other programs besides Firefox?

    Why doesn't the rotate gesture on my trackpad behave as it used to for switching between tabs when it works the same with all other programs besides Firefox?
    I changed the about:config to make the rotate gesture move between tabs, and it worked great for well over a year. Now it behaves erratically as described here:
    https://bugzilla.mozilla.org/show_bug.cgi?id=877598
    It used to be very controllable to move one tab over, now it is erratic and moves quickly and to unexpected tabs regardless of how slow I do the rotate gesture. This is the main reason I use Firefox over Chrome and I would like to continue to do so unless there is no fix to this.

    Just set the browser.gesture.twist.threshold to something around 15-25.

  • [svn:fx-trunk] 8732: Do not need to invalidateDisplay list when setting either the horizontalScrollPosition or verticalScrollPostion since the

    Revision: 8732
    Author:   [email protected]
    Date:     2009-07-22 08:00:53 -0700 (Wed, 22 Jul 2009)
    Log Message:
    Do not need to invalidateDisplay list when setting either the horizontalScrollPosition or verticalScrollPostion since the
    ContainerController's setters call updateForScroll(), if scrolling needs to happen, which updates the container.
    Also do not need to invalidate the display list when the scroller calls clipAndEnableScrolling install or uninstall the RET as a viewport.  The scroller should do it if necessary.
    QE notes:
    Doc notes:
    Bugs: SDK-22293
    Reviewer: will be Gordon and Corey
    Tests run: performance tests mentioned in the bug
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22293
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

    The same id shows at the top of the Settings > iCloud screen on both your iPad and iPhone - if they are different then they are not being synced. And for contacts and calendars you need Settings > iCloud > Contacts and Settings > iCloud > Calendars 'on' on both devices

  • I have a site published that i need to change, but when i publish the new pages it dosen't change the site that's already published. How do i remove the old site?

    I have a site published that i need to change, but when i publish the new pages it dosen't change the old site.

    See if this helps you any further :
    The concept of Sites in iWeb
    Also, clear the browser cache and reload the page(s).

  • Does Safari use up bandwidth if I leave it running in the background with zero tabs open?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?

    If I leave Safari running in the background with zero tabs open, does it still use up bandwidth?  Do I have to quit the application each time I am done to avoid exceeding my internet usage/host quota?  I'd rather not have to since quitting the application and restarting it when I need to will quickly become tedious, but if that saves me on bandwidth usage, I'll do it.  Thanks!

    iStat pro is another good means of checking your Mac's activity.   Set it up within Dashboard.   It is a free facility.
    iStat pro for Mac - CNET Download.com

  • I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    I started to learn HTML, and I'm using text edit and everything is going fine, when I save the file with a .html extension and open it with safari I only view the code and not the webpage that was supposed to be created.

    That is because you don't have a web server configured and running to serve the html page. In order to see the page in a browser you need to access it using a url similar to http://localhost/~yourUserName if you are serving the page from your user account.
    Prior to Mountain Lion you could go into web sharing and turn on the web server. With Mountain Lion there is no option, other than using terminal, to turn on the web server. The web sharing menu item has been removed in Mountain Lion. Apache is still on your computer but it will take a little searching these forums or the Internet to find how to turn it on.
    If you want a graphic user interface to turn on/off the Apache server you could download and install a server application like xampp, http://www.apachefriends.org/en/xampp.html. I use this and it works well.

  • When I use the inthernet with ipad it return home. What should I do?

    When I use the inthernet with ipad it return home. What should I do?

    any headphones will work, their are not any special apple ones that are needed.

  • My Mac won't start up and Im using DiscWarrior. When I restart the computer with "c" down, the screen goes black. Is this ok? Do I just wait it out?

    my Mac won't start up and Im using DiscWarrior. When I restart the computer with "c" down, the screen goes black. Is this ok? Do I just wait it out?

    Have you just tried repairing with Disk Utility?
    Repair the Hard Drive and Permissions - Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • Hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem pleas

    hello all .. i have a big problem in my ipad version 5.1.1 that is when i connect the ipad with my computer the i tunes give me this message ( itunes couldnt connect to this ipad .an unknown error occurred (0xE8000012).) how i can solve this problem please
    and this is an pic for the problem

    There is some troubleshooting for 0xE8 error codes on this page : http://support.apple.com/kb/TS3221 - you could see if anything on that page fixes it

  • My iPad 4 wifi 3G keeps charging slowly takes half a hour to get to 15% when plug into the wall with the plug and the lead what come with the iPad just wondering as I think some thing is wrong with the iPad

    My iPad 4 wifi 3G keeps charging slowly takes half a hour to get to 15% when plug into the wall with the plug and the lead what come with the iPad just wondering as I think some thing is wrong with the iPad

    Using the battery level meter in this manner is comparable to using your car's fuel gauge to calculate miles per gallon. The only thing that matters is the total amount of operating time from full charge to auto-shutdown.
    Use the wall-mount charger that came with the iPad and charge overnight.  Do NOT use an iPod/iPhone charger.  Do NOT use a computer's USB port.  Then, operate it normally until auto shut-down (ignore any low level alerts that may appear).  An irony is that doing that test to determine the total operating time is also the procedure necessary to calibrate the battery level meter.
    I'm not claiming that you do not have a problem.  I am stating, however, that we don't yet know.  If the above test does, in fact, indicate a problem, read this.
    Also, according to Apple:
    Use Your iPad Regularly
    For proper reporting of the battery’s state of charge, be sure to go through at least one charge cycle per month (charging the battery to 100% and then completely running it down).
    Elsewhere, Apple elaborates and explains that two half-discharges (or four quarter-discharges, etc.) equals one full discharge.

  • I think in the iOS 7.1 it's will be very nice if you will make system in iPhone 5s that when you open the iPhone with your finger Siri will say welcome back [name you can choose] it's will be very nice.

    I think in the iOS 7.1 it's will be very nice if you will make system in iPhone 5s that when you open the iPhone with your finger Siri will say welcome back [name you can choose] it's will be very nice.
    In the options before you click on add finger you will be able to choose your  name
    And if you don't want it so you will click on i don't want it
    and it won't say your name

    We are all users here, just like you. Apple does not follow these discussions.
    But you can tell Apple about your wishes here:
    Apple - iPhone - Feedback

Maybe you are looking for

  • HP Pavilion dv4 will not start up

    Hi! I am hoping someone can help me. My friend has an HP Pavilion dv4--2045dx  running Windows 7 and it will not start up. Once it is turned on the hp logo appears for a quick second and then a black screen with a blinking cursor in the left, top co

  • Screen - exits - step by step simple examples

    hi , i am new to user exits. pls help me by giving step by step example for creating a subscreen with 2 fields , and incorporate with some standard sap transactions. there are many who discussed the same topic in the forum ,but i find confusing. *so

  • Calling subtemplate.rtf in maintemplate.rtf in XML Publisher reports

    Hi, I am working on XML Publisher Reports. I have two subtemplate.rtf; based on condition in the maintemplate.rtf, i have to call either of the subtemplate.rtf. Doubts: 1. Do i need to register both subtemplate.rtf in oracle applications? If yes, wha

  • Keep directory structure for extra files after installation

    I'm working on an AIR project in Flash CS5 that has some additional support files in a folder called "data".  In my publish setting, I included this folder.  When I run a test install of the AIR file, I no longer have a "data" folder in my installati

  • How do I open jpg attachments on my iPad2?

    I am getting email messages showing up with a paperclip in my "in" box, but there is no visible attachment to the message. How do I retrieve the jpg file and view it?