Navigating back to previously selected tab

Hello,
We are using JDeveloper 10.1.3.1.0 with JHeadstart 10.1.3.0.97 (SU1).
I have built a master-detail-detail form where the master has a form layout. Every detail is located on its own specific tab page, and they all have table layout. One of the details has a detail of itself (detail2). This has a table-form layout, so the records are read-only visible on the tabpage, but when you want to insert a new detail2-record, you navigate to another page (wih form layout) to insert the record.
Now after committing the new record, I would like to return to my master-detail-detail page, with the previously selected tab on top, showing also the record I have just inserted.
How do I do this? Because now when I navigate back (and I can only do this using the breadcrumb) the master-detail-detail screen opens with the leftmost tab on top, and I have to navigate to the right tab, open the right detail record and then finally I see my newly inserted detail2 record.
Many thanks,
Martha van den Hoven

Martha,
To remember the slected tab accross pages, you should bind the "binding" property of the <af:showOneTab> element to a manage bean property and store theis managed bean in session scope. Easiest way to do this is go to the binding property in the property inspector and cl;ick the three dots. This opens up a dialog where you can create a new managed bean and a property in the bean that holds the showOneTab element. Make sure you set the scope of the bean to session.
To preserve these changes after regeneration, you should create a custom template for the af:showOneTab element, and move the managed bean definition from the faces-config.xml to a custom-faces-config.xml file, and add this custom file to the web.xml parameter that holds the list of faces-config files. (Or, alternatively, you can create a custom template for facesConfig.vm and add the bean def in the custom template).
If you want to navigate back directly when clicking Save, you should create a custom template for the save button and set the action property to the navigation case that takes you back to the previous page. You can use the drop down list in the property inspector to see the list of navigation outcomes.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • After quitting a "private browsing" session, and I quit togo back to previously open tabs/pinned sites, 40% of the time, the Browser does not restore all previously open tabs/pinned apps/sites

    Using HP Pavilion Dv7 with Windows Home Premium, 64bit, and only now and then will FF4.0.1 restore previous (normal) session after returning from a private browsing session, )I use the Quit Private Browsing menu item from the Toolbar right-click menu to go back).... In addition, previously Pinned sites (apps) are lost also, and all must be re-added.
    Inconsistent failure and I've not been able to reliably reproduce-- sometimes (about 4-6 times in 10) it just loses all previous information.

    I would add that bookmarks may be organised into folders and subfolders. You may wish to make more use of bookmarks if only to ensure you do not loose everything if your session restore becomes problematic.
    Bookmarks are a bit more robust than the session restore system. Firefox backs them up automatically and you may do so manually. Possibly Firefox will behave better and faster with hundreds of bookmarks but only tens of tabs open. There is also the tabs groups, but that is something I think development has ceased on and may have similar issues to session restore / or open tabs.
    * [[How to use bookmarks to save and organize your favorite websites]]
    ** [[Restore bookmarks from backup or move them to another computer]]
    ** [[Use bookmark folders to organize your bookmarks]]
    *[[Use Tab Groups to organize a lot of tabs]]

  • Need to select current tab (dynamically generated) while navigation back

    Hi,
    Jdev 11.1.1.3 version.
    In my sample application I have two pages, DynamicTab.jspx and NextPage.jspx. In DynamicTab page I have dynamic tab (number of tabs depends on the data in db). Also have one 'Next' button. While clicking on 'Next' button we can navigate to NextPage.jspx. In NextPage.jspx I have only one 'Back' button to navigate back to 1st page.
    Lets assume I have 3 records in the db as a result 3 tabs will be there in the DynamicTab page. I have selected 2nd tab and then navigated to NextPage.jspx.
    While navigating back to 1st screen I see the 1st tab is selected not the 2nd one.
    My requirement is the current tab need to be selected while navigating back again (not the 1st tab always)
    DynamicTab.jspx :
    <af:panelTabbed id="pt1">
              <af:iterator id="i1" value="#{bindings.EmpVO1.collectionModel}"
                           var="row">
              <af:showDetailItem text="#{row.Empname}" id="sdi1">
              <af:outputText value="#{row.Empid}"/>
              <af:outputText value="#{row.Empname}"/>
               </af:showDetailItem>
              </af:iterator>
            </af:panelTabbed>Any help will be appreciated.
    ~abhijit

    Hi,
    There is a similar use-case where I proposed a solution here:
    Re: ADF: Remembering which tab you came from and returning to it.
    But in your case you will need to construct the ShowDetailItem component Id dynamically for this solution to work.
    Gabriel.

  • How to go back to the previous selection screen window?

    I have a selection screen and I have a button that calls a basic report and displays it on screen 0. The basic report is displaying however when I push the back button the program exits.
    If I use "set screen 0" and if I press back button, the program goes to the code. It does exit.
    If I use "leave to list processing" and if I press back button, the screen is just stuck on that screen 0 forever.
    What I want is to go back to the selection screen window when I press the back button at the top.
    <b>Pls help. Im a newbie. Thanks people. </b>
    at selection-screen.
    case SY-UCOMM.
      when 'BTN1_PUSH'.            " Calls Plain Report
          set screen 0.
          perform plainreport.
      when 'BTNEXIT_PUSH'.
        leave program.
    endcase."

    Hi Jabbar,
    The reason it is exiting the program is because you are using set screen.
    Try the following instead:
    at selection-screen.
    case SY-UCOMM.
      when 'BTN1_PUSH'.            " Calls Plain Report
           call screen 0.
          perform plainreport.
      when 'BTNEXIT_PUSH'.
        leave program.
    endcase."
    Think of the call screen command as a chain that the program follows and exits the previous. When you say set screen you are leaving the history in the program and it will always go back to the last screen it remembers which is why you were stuck in screen 0.

  • I accidently closed my window with all my app tabs, now the only window that opens was a 2nd one I had open. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab?

    I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
    Details

    Then the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
    *http://kb.mozillazine.org/sessionstore.js

  • I can no longer play movies since upgrading to iOS8.  The videos will flip to the play screen then immediately flip back to the selection page.

    I am using an iPAD2 with 32gbytes on iOS8.1.1.
    After upgrading to iOS8.0, the movies I had on my iPAD no longer would play.  When I select a movie, it changes to the play screen, then immediately flips back to the selection screen.  The movies are in the :movies" category.  I tried to reclassify them to "home movies" under the INFO option, but it is grayed out.
    I did just copy another movie and it automatically was classified as a "home movie" and it play just fine.  My guess is this has something to do with the category it is in.  However, I cannot change the categories on the previous movies.
    Any help is appreciated.

    Can you record and play new VMs?
    Can you sync them to your computer?
    Try:
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from a back that was made then the VM played back. See:                                                
    iOS: How to back up                                                                                     

  • I turn on my computer, click on the Firefox icon on my desktop, the web browser appears but the same screen always appears and says, "Well this is embarrassing" and says the problem is due to a previously opened tab.

    I am online everyday. I turn on my computer and click on the Firefox icon. A web browser appears but not with my Yahoo! homepage. Instead of seeing my Yahoo! homepage I see a screen that says, "Well this is embarrassing." I read that the problem is due to a recently opened tab. It gives me the options of either restoring all previously used tabs from the last time of use or starting a new session. If I choose to restore previous tabs, I am further given the option to select which tabs I want restored and which ones I don't want to restore. I always choose to start a new session because all previous tabs consist of work that I have completed in the past (whether it be yesterday or the day before). I, therefore, have no interest in restoring a tab that contained an article about our current economic situation for example. As previously stated, I choose to start a new session every time I receive the "Well this is embarrassing" error message. When I choose this option, I am brought to a fresh tab with no information regarding work, articles, or entertainment from yesterday or some time in the past. I wish to have an explanation as to why this happens. I do not go on any malicious web sites or anything of the sort. This happens every single day. The automatic error message that appears is "Well this is embarrassing." For Firefox to say "Well this is embarrassing" is not close to the response it should give.

    This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    See:
    * http://kb.mozillazine.org/Session_Restore
    See also:
    * http://kb.mozillazine.org/Firefox_crashes
    * [[Firefox crashes]]

  • Possible BUG: duplicating a shape layer only duplicates previously selected points - PS CS6

    Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) only those points will be duplicated in the new layer. This is true no matter what tool you are currently using.
    What I did was make a rounded-corner rectangle shape -> then direct selected all points on one side to stretch the rectangle without distorting the rounded corners -> then switched to the move tool so no points were selected anymore and only the layer was selected-> duplicate layer (with the intention of duplicating the whole shape). what i got was just the rounded corners on a new layer.
    It seems the only way to duplicate the shape layer in its entirety is to go back with the direct select tool -> select ALL points of the whole shape -> change to move tool -> dupe layer.
    If that's the intended new functionality, it's a bummer because if you intend to only duplicate certain points, you can already do that while using the direct select tool. Using the move tool, it shows no direct selections and therefore you should be able to duplicate the whole layer.
    Maybe I have some weird default option checked that I'm not familiar with? This is not how any previous versions of PS worked and will add friction to my workflow if this is new.

    Yes, this is an issue with CS6 and the first release of CC.  You have to make sure you deselect all nodes in a path, or you will get the result you describe.  I believe Adobe has made some corrections and improvement in the use of shape layers that will hopefully be released soon.  However, if you're sticking with CS6, you've got to make sure to deselect on Win the esp key works great.

  • How can I go back to previous version of firefox cause 4 sucks and I am going to have to go back to internet explorer?

    This version is horrible, and I want to downgrade back to previous version if I can't then I am going back to internet explorer, the search engine is an aberration...just trying to perform a search for hotmail sign in page and had to click on have a dozen responses before I find the one I want where before was right there at the top. If I cannot go back to a previous version, just tell me so I can start using internet explorer, it is horrible as well but at least search engine was not as frustrating to use!!!!

    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Payment Program Free selection tab fields

    Hi,
    We would like to pay the vendors against the open items which are due upto a date in the past. For example when we run the payment proposal today(05-10-2011) we want the system to list and pay the invoices which were due on a date a week ago(05-03-2011).
    The due date field is not available in Free Selection tab to exclude. Any idea how to make it working?
    Thanks
    Ram

    Dear:
                    Due date is calculated from the date at which proposal is run and posted you can make proposal run in back date as well. IN free selection tab when you give invoice numbers, the system will automatically pick the invoices coming within the range and leave the invoices not yet due.
    REGARDS

  • XSLT For-Each Issue, how to traverse back to previous node

    How to get the SupplierName(Primary) from the below payload
    *+<ItemSupplier>+*
    +<SupplierParty>+
    +<SupplierName>SUPPLIER NAME 1</SupplierName>+
    +</SupplierParty>+
    +<ItemSupplierLocation>+
    +<Status>1</Status>+
    +<PriorityCode>N</PriorityCode>+
    +</ItemSupplierLocation>+
    +<ItemSupplierLocation>+
    +<Status>2</Status>+
    +<PriorityCode>N</PriorityCode>+
    +</ItemSupplierLocation>+
    *+</ItemSupplier>+*
    *+<ItemSupplier>+*
    +<SupplierParty>+
    *+<SupplierName>SUPPLIER NAME 2</SupplierName>+*
    +</SupplierParty>+
    +<ItemSupplierLocation>+
    +<Status>1</Status>+
    +<PriorityCode>N</PriorityCode>+
    +</ItemSupplierLocation>+
    +<ItemSupplierLocation>+
    +<Status>1</Status>+
    +<PriorityCode>Y</PriorityCode>+
    +</ItemSupplierLocation>+
    *+</ItemSupplier>+*
    The condition i need to run is as below, but as the control will be inside the <ItemSupplierLocation> how do i go back to previous node and get the value of supplier name.
    +<ItemSupplier> can be n number+
    <xsl:for-each select="ItemSupplier/ItemSupplierLocation">
    <xsl:choose>
    <xsl:when test='PriorityCode="Y" and Status="1"'>
    <Supplier>
    <xsl:value-of select="ItemSupplier/SupplierName"/>
    </Supplier>
    </xsl:when>
    </xsl:choose>
    </xsl:for-each>
    Thanks,
    Vijay

    Fixed the issue with the below code
    <xsl:for-each select="ItemSupplier/ItemSupplierLocation">
    <xsl:choose>
    <xsl:when test='PriorityCode="Y" and Status="1"'>
    <Supplier>
    <xsl:value-of select="../SupplierParty/SupplierName"/>
    </Supplier>
    </xsl:when>
    </xsl:choose>
    </xsl:for-each>
    Thanks,
    Vijay

  • New page unexpectedly loses ability to go BACK to previous page after clicking on a link in page (not consistent), why?

    Firefox 4.0 Vista 32 bit
    I will have a tab open, and click on a link, new page loads. The Back and Forward buttons do not work. Usually it shows in history (unless I opened too many pages before clicking on link). This has happened several times.
    It is not consistent - one time I used search bar and opened a Yahoo search page - clicked on search link and when I wanted to go back to look at another search link from the previous page- page would not load (BACK button dead). I clinked search again, clicked on another link and that time it allowed me to return to the previous page???
    I am about ready to go back to previous version.
    Thank you.

    It's a good idea to try disabling Flash completely and see whether the problem continues. If it does, then my guess is incorrect. To test that, open this tab:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category
    Here you can locate Shockwave Flash and use the Disable button. Keep this tab open for easy access when doing your test.
    ''If your test confirms that Flash is causing the problem,'' then the other thread has two suggested workarounds. The first is simple to understand (keep some Flash running at all times) but may be inconvenient to do all the time. The second is trickier because it requires editing a file in (or creating and then dragging a file into) a system folder. Fortunately you only need to do it once.

  • How can I recover my previously opened tabs / restore session?

    HI, I've been struggling the last few days to get back all the opened tabs I had in my Firefox window. My deault setting was to resume the Firefox session from where it was when I last exited Firefox. But some weird toolbar got somehow installed in my PC and when I uninstalled it all my browsing history was deleted (from all my browsers, IE, FF and chrome) and my precious Firefox tabs were gone.
    These tabs are really priceless, I collected them through some months of research and it would be impossible to redo all my work. Although I managed to find some of these sites in my browing history when I restored all of it via the "restore" function in places.sqlite file properties (in the "previous versions" tab), it's impossible to find the other sites I need by checking every visited site in my browsing history, there are thousands of them and it would be the same as starting all over from scratch.
    I know too that it was unbelievably stupid of me to not bookmark these sites before, but please, isn't there any way of retrieving those lost tabs? What irks me the most is the fact that the tabs weren't loaded when I opened Firefox, but only when I clicked on them, which means that I have no clue on which dates to find the tabs, since they were only visited at the time I found them, and never loaded again.
    I'd be most grateful to any hint that might solve this problem. Thank you for your attention.
    PS: I should mention I've already tried Window's "System Restore" but to no avail; when I open Firefox, after having a previous session restored, it will display the same tabs I left recently (as opposed to my previous tabs, that remain lost). My OS is a win7 64 bit Ultimate

    edvardgrieg put me on the right track so thanks. Though my solution was different.
    sessionrestore.js is indeed where your tabs are saved, and as you may have found out, if you lose your tabs this information is overwritten in the sessionrestore.js file.
    I am using Windows XP and so I did not have the Previous versions option described by edvardgrieg. What I did have was a couple of backups of the sessionrestore.js file. One was called sessionrestore.bak and the other sessionstore.bak-20131112160018 (the long number being the date it was made). So I merely removed sessionrestore.js and renamed my sessionstore.bak-20131112160018 backup to sessionrestore.js. Remember to close your browser before you do this otherwise your newly restored backup will be overwritten and your tabs lost forever, so back up the backup like I did before you do this.
    I also had a few months worth of tabs (approx 150). Glad to get them back.

  • How to go back to previous block?

    Hi,
    I got a problem in navigation.I want to go back to previous block if user click a button.I use the function: previous_block but it go back according to how you put inside your datablock tree.I cannot use go_block('block_name') function also because when user click that button, it can go back to different blocks according to different situtations.
    Can anyone help me what is the command to go to previous block??
    Thanks a lot.

    Create a Global variable GLOBAL.PREV_BLOCK
    Before leaving any block to go to another one (look for GO_BLOCK commands and KEY-NXTBLK triggers)
    :GLOBAL.PREV_BLOCK:=SYSTEM.CURSOR_BLOCK;
    When you wish to return to the previous block
    GO_BLOCK (:GLOBAL.PREV_BLOCK)

  • While Navigating back Recieved out of Memory Exception: WHY?

    i used JHEADSTART to built my Application. Major portion of the Application is Built now. when navigating back to the previous pages i have recieved this exception
    23-Jan 13:35:44 DEBUG (JhsNavigationHandlerImpl) -handleNavigation action=#{WizardPageListCreateNewEquip_Acc.getPreviousAction}, outcome=WizardCreateNewEquip_AccbillingProfile
    23-Jan 13:35:44 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    23-Jan 13:35:46 DEBUG (WizardProcessModel) -Wizard page has changed.
    Jan 23, 2008 1:36:21 PM oracle.adf.view.faces.bean.util.StateUtils$Saver restoreState
    SEVERE:
    java.lang.OutOfMemoryError: Java heap space
    23-Jan 13:36:29 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/CreateNewEquip_AccbillingProfile.jspx, pagedef=CreateNewEquip_AccPageDef
    23-Jan 13:36:29 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    23-Jan 13:37:26 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/ProductCatalouge.jspx, pagedef=ProductCatalougePageDef
    23-Jan 13:37:26 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    I am using Jdeveloper 10.1.3.3
    JHEADSTART Version : 10.1.3.1.26
    when i again clicked on the link to open the same page it gave same exception i.e. JAVA HEAP SPACE with out f memory.........

    Seems like your OC4J instance is running out of memory space.
    Try starting it with more memory allocated to it.
    (or if you only run into this after running your application inside JDeveloper several times - try to stop and restart the embedded OC4J).

Maybe you are looking for

  • Unable to transfer large files from MB to External HDs

    Hi, This may be an unusual one. My 1st edition Macbook won't let me transfer large files to my external hard-drives, either by USB, Ethernet or wirelessly through my home wi-fi network. I've started video editing so I'm importing DVcam tapes through

  • Cannot delete itunes .msi not found and cannot install new one! please help

    Please help me awhile ago i tried deleting then reinstalling th new version of itunes / quick time and after going through most of the installation process this comes up: The feature you are trying to use is on a network resource that is unavailable.

  • Deployment very slow since moving to OWB 10.1.0.4.0 on new server

    We recently moved our OWB development from a Windows box running OWB 10.1.0.2.0 client/10.1.0.1.0 repository to a Linux box running OWB 10.1.0.4.0 client & repository. The other change was from using separate schemas for the design and runtime reposi

  • TimesTen SQL with group by returning multiple rows

    I have a Active-Standby TimesTen nodes. Using group by with or without having clause: Whenever I do a group by query on table1 table with or without having clause, SQL returns multiple rows. This looks very strange to me. Each time it gives different

  • Iphone back ups

    Hi, when I back up my iphone (4S iOS7) to my mac, presumably it only backs up the actual data on the phone at that time (ie not any of the deleted files that may still reside on the disk), and this back up file overwrites the previous back up file, i