Navigating Back to Calling Page

Hello,
I'm using APEX 4.1.1 and here is my dilemma: I have 2 pages A and B that both navigate to page C. In page C, when "Apply Changes" button is clicked I need to navigate back to either A or B depending on which page made the call to C. For pages A and B, I have set the "Request" value in the "Link Column" section to uniquely identify which page is making the call. Then, in page C I have created 2 branches (one to A and one to B) with condition "Request = Expression 1" where expression 1 is the value I assigned in A and B. When page C loads, I can see the value I assigned in the URL, but when I click "Apply Changes" the page submits and remains on page C.
Any help with this is greatly appreciated.
Thanks,
Will

user9130472 wrote:
Hello,
I'm using APEX 4.1.1 and here is my dilemma: I have 2 pages A and B that both navigate to page C. In page C, when "Apply Changes" button is clicked I need to navigate back to either A or B depending on which page made the call to C. For pages A and B, I have set the "Request" value in the "Link Column" section to uniquely identify which page is making the call. Then, in page C I have created 2 branches (one to A and one to B) with condition "Request = Expression 1" where expression 1 is the value I assigned in A and B. When page C loads, I can see the value I assigned in the URL, but when I click "Apply Changes" the page submits and remains on page C.
Any help with this is greatly appreciated.
Thanks,
WillCreate a hidden item on page c lets say PX_FROM_PAGE.
Create an unconditional branch/edit one existing on page c and set the target page to *&PX_FROM_PAGE.*
Now when you call page c from page a/b include the parameter PX_FROM_PAGE with relevant page number. Example when calling page c from page a include the PX_FROM_PAGE to the call with page no of a
Thanks,
Vikram

Similar Messages

  • R12.2.4 Data lost after using Dialog Page and return back to calling page.(Help Please! )

    Hi Team,
    I am new to OAF and is working on a requirement to add some custom validations when the user clicks on a Button in a standard seeded page.
    The approach I took was to Extend the seeded Controller object that handled this button press event and put my custom logic in the extended controller and override the standard controller via personalization.
    The standard flow was that upon pressing the Complete Button in Page A ,user was taken to the next seeded page (Page B) to perform certain operations based on the records that were selected in Page A.
    Part of the custom validation requirement was that if certain validations were not met then the user needs to be shown a Pop-up asking if they really wanted to proceed and if they selected Yes then continue with the standard seeded flow(move to page B)  and if they selected NO then just stay on the current page.
    I was able to use OADialogPage and do this partially , the issue I am running into is that once the user selects the one or more records  using a check box from a multi-record (table) region and hits the Complete Button on page A and if the validation fails then a modal page is shown and the user makes a selection i.e.either Yes or No from the modal page and when they return to calling page (i.e. Page A) , All the Data (records ) that they selected previously is lost (Page is refreshed). Based on what I see on this forum I suspect that it is because after clicking on Yes on the modal page and while returning to the original page the processRequest fires again and VO data is queried again and all selections on the page A are lost. Since I am trying to alter the flow in seeded pages based on user intervention I am kind of lost as to how this issue can be fixed. i.e. either prevent the page refresh or preserve the selections that were made prior to navigating to the modal page. Any Help is truly appreciated !!
    My Code :
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if (oapagecontext.getParameter("completeOps") != null) {
    if (warnCount > 0) {
      //OAException message = new OAException("Not in Sequence...", OAException.WARNING);
      //oapagecontext.putDialogMessage(message);
      OAException message = new OAException("Rule XYZ Violated .Do you want continue ?",OAException.WARNING);
      OADialogPage dialogPage = new OADialogPage(OAException.WARNING, message, null, "","");
      String yes = oapagecontext.getMessage("AK", "FWK_TBX_T_YES", null);
      String no = oapagecontext.getMessage("AK", "FWK_TBX_T_NO", null);
      dialogPage.setOkButtonItemName("ConYesButton");
      dialogPage.setNoButtonItemName("ConNoButton");
      dialogPage.setOkButtonToPost(true);
      dialogPage.setNoButtonToPost(true);
      dialogPage.setPostToCallingPage(true);
      dialogPage.setOkButtonLabel(yes);
      dialogPage.setNoButtonLabel(no);
      oapagecontext.redirectToDialogPage(dialogPage);
    if (oapagecontext.getParameter("ConYesButton") != null)   {
              // Write Action code for Yes Button
              oapagecontext.putParameter("completeOps", "Continue");
    if (oapagecontext.getParameter("ConNoButton") != null){
                // Write Action code for No Button
                String errormsg = "Rule Violations have occured ";
                throw new OAException(errormsg);
       super.processFormRequest(oapagecontext, oawebbean);

    I was able to work around this issue by adding a simple check in the processRequest method of my extended Controller to prevent the call to super.processRequest incase when the control returns to the page after the user has made a selection in the Dialog Page
    if((oapagecontext.getParameter("ConYesButton") == null) && (oapagecontext.getParameter("ConNoButton") == null)) {
      super.processRequest(oapagecontext, oawebbean);
    Thanks !

  • When navigating back to a page with an IR, a different Saved Report shown

    I have a page with an interactive report. I have several saved reports. One column has a link to another page in the application with address details. When I follow the link I correctly see the page. I click the "Back" button on the browser to get back to the interactive report. At this time, the saved report that is selected may not be the same as the one that was selected before I clicked the link.
    How can I tell the currently displayed report id so that I can use that to populate an Item to be linked used as the Report ID Item?
    Thanks,
    Danny

    the folks at Spashtop sent me a note indicating that its possible to get it to work remotely but they werent particularly clear as to how - especially with an aitport express
    heere is the note they sent - but some of the urls dont resolve
    Jaff said:
    If you are attempting to connect your home computer via 3g or outside network, you will need to get another external ip address and do 3 ports forwarding on router as this link described:
    http://support-remote.splashtop.com/entries/514213-how-do-i-connect...
    Please confirm your external ip address by visiting this site and put it on ipad profile for outside connection:
    http://www.whatismyip.com/
    Please check this link to find your home router for more specific help on ports forwarding:(just click top right corner to skip advertisement)
    http://portforward.com/english/applications/port_forwarding/Splasht...

  • How to set a back button to the caller page

    Hello,
    An application have a page that can be called by several other pages, for instance, an "addContact.faces" can be called by several other forms, when the user adds the contact or press a back button, the application should go back to the caller page.
    How can I implent this?
    Thanks in advance,
    Juan

    As an alternative, you could Ajax the stuff and put it in a popup div, which is a common technique nowadays. Then the user doesn't even navigate away from the page he/she was on, plus it is relatively easy to implement in a generic way so multiple pages can use it.
    Search for "css popup div" on google if you want to see this in action.

  • Scroll to bookmark when navigating back to page

    Hello all,
    I have page 100 that is long. I've scrolled down and clicked on a search button that takes be to page 200. When I navigate back to page 100 I'd like it to return to the same scroll position where I was before.
    Does anyone know how to do this? I've got a few thoughts, but I'm hoping for an elegant approach that is easy to duplicate on other pages.
    Thanks,
    Michael Cunningham

    1. Create a named anchor where you want to return back.
    clicked on a search button that takes be to page 200. 2. Have the button set a hidden item to this named anchor
    When I navigate back to page 100 3. Depending on how you are navigating back to page 100, stick the named anchor at the end of the URL f?p=&APP_ID.:100.:&SESSION.::::::#&P100_ANCHOR.

  • Disable/hide navigation Back button in particular overview page

    Hi All,
    I have to disable/hide navigational 'Back' button on Task overview page. I tried to achive this in WD_HISTORY mehtod but no luck.
    Please suggest me how to do this.
    Thanks,
    Nanaji

    Hi Laxmana,
    I did the same thing as you suggested, by commenting the super class method we can just stop to go to previous page but not all the pages which are stored in back button history.
    My actual requirement is, back button should not be visible to user or should not function anything. User should not use back button to navigate away. user must use 'save and back' or 'save' buttons.
    Thanks,
    Nanaji

  • HTML-DB 1.6 (Apex) calling an URL and go back to the calling page

    Hi everybody,
    Is there somebody who can help us ?
    We have a button in your page which call an URL link. This link creates operate a job that will make an XML document. We try to use target....blank to open a new window and after the job is finished to close this new window; but it doesn't work, no new window have been created.
    But, we want to go back to the calling page after doing the XML document creating job. We can't go back to our calling page, the application is gone.
    How, we can do this?
    Thanks. Bye.

    Hi Timiche,
    Firstly, create a new region on your calling page and add in the following as the region's Region Source:
    <script language="JavaScript" type="text/javascript">
    function exportList(page)
    var url;
    url = 'f?p=&APP_ID.:' + page + ':&APP_SESSION.';
    w = open(url,"winExport","Scrollbars=1,resizable=1,width=100,height=100");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    <a href="javascript:exportList('n');">Export XML</a>
    Replace n with the page number for your xml export. Notice that I've added an A tag here - you can style this to look like a button if you like.
    I have also set a branch back to the calling page, but this should not be used by the A tag as it doesn't submit the page - I've just included it on my page for completeness.
    Secondly, on your page containing the xml export, make the following settings:
    In the Page Attributes, set the Page Template to "Popup"
    In the Region's Region Definition, set the Template to "No Template"
    In the Region's Report Attributes, set the Report Template to "export: XML"
    And, here's my working example:
    http://htmldb.oracle.com/pls/otn/f?p=42012:1
    Regards
    Andy

  • Table record is not updated correctly after navigate back from detail page

    I have 2 jspx pages one (page A) has a table displaying the employee record, another one (page B) is used to update the selected employee record. On page A, when selecting a record and clicking the 'Details' button I can be navigaed to pag B on which I can modify the record information in a form component. I have one table column 'teamName' which is binding to a LOV at VO layer and on pageB I am using <af:inputComboboxListOfValues> to show a editable LOV list for this attribute, when I input a new value here and save it, I can go back to page A but the team name for this record shows empty, by querying the database I do find the record updated successfully with the changed value. And when I reloaded the page the record can show the new team name value. Why it is not updated in the employee table when immediately navigating back from page B? I have set the table iterator refresh attribut to "always" but still failed. Can anyone help on this issue? Thanks!!
    BTW, for other columns (not LOV) they are ok, the table can show the changed value correctly.
    Edited by: user774592 on Jul 14, 2011 7:56 PM
    Edited by: user774592 on Jul 14, 2011 9:59 PM

    Thanks for reply!
    I did exactly the same as what you said. I d&d the data control Commit operation on page B to generate a 'Save' commandToolbarButton with the action attribute set to 'save' which is the from outcome for navigating back to page A. Is there any business logic I need to write here? Currently I have no.
    Note: In this case I used an editable LOV, I have a requirment that besides selecting a existing value from the lov, user can also input a new value in the LOV. When going back to page A, I do find the LOV list is updated to contain the new vaule. Just the record in the table shows an empty value instead of the new value. Still do not know why.

  • How to I get back to the page I was reading after looking at a bookmarked page?

    How to I get back to the page I was reading after looking at a bookmarked page? (And, why is "Help" in Adobe products such a useless, time-wasting ordeal?)

    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Hint Caption Stays After Navigating Back

    I've read all the previous posts, but I'm not as easy to
    please as everybody else I guess. This seems like perfectly
    reasonable functionality to me and there has got to be some kind of
    work-around.
    The problem as most of you already know is that with
    roll-overs and hint captions, if you use the button to go somewhere
    and then use another button to navigate back, the caption stays
    until the user mouses over it again.
    The only solution I can come up with on my own is to make the
    'back' or 'return' button in the same spot as the mouse-over so
    that the user inadvertently clears their own screen, but this just
    seems silly.
    I've also tried having the user browse to a slide preceeding
    the 'menu' slide that's only 0.1 seconds long, but this doesn't
    reset the mouse-over effect either. Is there no way to trick the
    caption into thinking the mouse has left the rollover area when
    navigating away from that page? Is there a way to reset the entire
    movie and have it jump to that particular slide? Seems like this
    problem was around and reported during Captivate 1.0 and it's still
    not fixed in 2.0. Seems like there should be some easy way to have
    the particular slide in question reset whenever the user returns to
    it. Any help would really be appreciated.
    This is my first post, BTW, hope I don't sound too upset :-)
    This problem has been plaguing my work for a while is all.

    The solution I posted worked only in preview, hence removig
    it from here.
    I will recommend that you let the developers for Adobe
    Captivate know about the issue. Please file it using
    this
    form.

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

  • Popup not INSERTing into table and not refreshing called page ...

    Greetings
    Environment: APEX 3.1.1.00.09 on AIX 5.3 in 10gR2
    I have read many of the threads concerning my issue and I feel I am getting close to the answer but somehow have combined too many of the suggestions and am tripping over my own code.
    Please look at my sample application on apex.oracle.com:
    Workspace: galway
    User: gwicke
    Password: gwicke
    Please start with Page3, select any Agency and then click 'Add New Contract'.
    There is currently a <strong>BOLD </strong>label 'Add New Builder' that is a link that should open a popup window. Type any name into the field and click 'Create Builder'. This should INSERT the row into the builder table, close the popup, assign the new builder name to the calling page item 'Builder Name' and populate the screen item.
    In it's current state, the application will open the popup window, allow entry and close upon clicking the 'Create Builder' button. However the new builder is NOT inserted into the table and the calling page item is not populated.
    By looking at the Page Items and Session State I can see the correct values assigned to the 'Pn_BULDER_NAME' items on both the popup page (4) and the calling page (2) but the value does not appear on the screen.
    I've read where there's really two parallel universes, no sorry, two versions of the screen items, one in Session State and one that is displayed in the browser and there are steps to take to be sure the one displayed is updated from Session State as I would like in this case.
    I've entered Javascript code in the Page4 - header to define the 'passBack2()' function and code in the 'Optional URL Redirect' section of the 'Add Builder' button to hopefully execute the ARP for the INSERT, assign the Page2 items and close the popup. It doesn't quite get all that done.
    Any helpp is greatly appreciated. Thanks to Denes for most of the code suggestions I've followed.
    -gary

    Hi Gary,
    I think that there's a very simple solution to this - didn't really spot it last night.
    Firstly, yes, you could use a "button" to handle the call for the popup - just make sure that the button is a URL type "button" that is actually an A tag with the call in the URL target setting. Alternatively, you could take you existing A tag and use the same class attribute for one of your buttons as this should make it look like a button.
    More importantly, though, I think that we could do it as:
    1 - On your page 2 popup call, clear that cache for page 4 (the popup page) - I have already done this in your app by updating the url
    2 - On the popup page, allow the user to enter in their desired P4_BUILDER_NAME value (not sure if you want to do something to make this unique?)
    3 - Let the user click the Create button on the popup. This will submit the page, which will get your P4_BUILDER_RANK (the pk) value and insert a new record into the table (you could consider creating a sequence and a trigger to handle the creation of a new PK value?).
    4 - Assuming the P4_BUILDER_RANK then exists (it wouldn't if there was an error somewhere), then conditionally display a region that had a piece of javascript that submits page 2 and then closes itself - we don't need to pass anything back to page 2 (see below)
    5 - As the P4_BUILDER_NAME and P4_BUILDER_RANK exist in the session, when page 2 is being reloaded, (A) the select list would be updated with the new Builder (still not sure why all my entries appeared at the bottom instead of in alpha order??) and (B) both P2_BUILDER_NAME and P2_BUILDER_RANK can have Post Calculation Computations set (NVL(:P4_BUILDER_NAME,:P2_BUILDER_NAME) and NVL(:P4_BUILDER_RANK, :P2_BUILDER_RANK) respectively) - the effect of this is, if there are values stored in the P4 page items, we use them, otherwise we use whatever values were in the P2 page items
    6 - Finally, to stop (5) happening in all page 2 loads, you would need to clear the cache for page 4 in as many places as possible - eg, branches to page 2 or buttons on page 2
    The reason we can't pass values back to page 2 is that one of the items is a select list. The value we want to select won't appear on the select list until the page has been submitted. So, we can't set the value and submit because the value isn't there. We can't submit and set the value because javascript wouldn't know when the page has been updated (or, at least, you would have to put some independant mechanism in place to identify this, which may become complicated).
    So, simply put, as long as we know that if the values are in the session, we can use Post Calculation Computations to set our fields to these values. The only thing to bear in mind is that we need to ensure that these session values only exist when we need them - hence clearing the cache. This principle should work for any type of field - but, as you have no doubt seen, simple text fields can be updated by the popup directly as the field should accept any value we give it.
    My only other recommendation would be to completely remove the MRU processes from the page as these are not required (they just confuse the issue) and you could make your PK fetch and record insert into a single process - just to keep things neat and tidy, you understand!
    When I finished with your app last night, I did leave it so that javascript would create a new option on the select list and then set the value. But the above methodology seems to be a lot simpler.
    Andy

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

  • Backing file at Page level

    Hi,
    I am working on Weblogic portal 9.2. I have single Portal that hold one page and 3 portlet.
    Conditionally I wanted to visible and hide these portlet so I added backing file at Page level and after using setVisible() method of portlet I can hide or show these portlet.
    But the problem is Portal page is not visible in portal administrator until and unless you created desktop template from existing portal web app.
    But consider somebody created new page on portal administrator and added these 3 portlet.and now want to see visibility and hiding functionality of portlet. So Page level Backing file approach will be fail as this page will not have any backing file support.
    So in this scenario how do I hide and show portlet without help of backing file

    Hi Kevin
    Just curious where exactly the BackingFile information gets stored for Pages, Books, Desktops etc in the Portal DB Schema. As per my understanding, from IDE we create .portal file. Add books/pages and portlets to the pages. We assign BackingFiles to Page/Book and portlets. When we deploy and create Desktop, this .portal file is parsed and all the information gets stored in the DB Tables. When we run portal in streamline mode, it gets all the details from the DB tables and NOT from the .portal file any more. In PF_PORTLET_DEFINITION Table, I could see a column to store the BackingFile full path. And in .EAR file we have this .class file. But in PF_PAGE_DEFINITION, PF_BOOK_DEFINITION, I could not see any such columns. So my question is in streamline mode when a desktop is rendered by reading all these tables, where exactly the BackingFile is getting triggered/called from which table. Does it still refer .portal file.
    Thanks
    Ravi Jegga

  • Info from applet back into web page?

    I know that information can be passed to an applet via <param> tags, but can information be passed back to the page from an applet, perhaps to a javascript or php function?

    Well, you can call JS-Methods using liveconnect and the JSObject Interface
    Note that the browser has to support this which is often not the case. However IE and mozilla should be fine most time.
    have a look at docs for more info

Maybe you are looking for

  • Confused... why are my exports smaller than my versions???

    I am having a heck of a time figuring this out. My file size (I've not done a thing to the photo since importing it) is 4.29MB. When I export the photo as a version it's 1.81MB. What's going on here?

  • Output of show policy-map

    Hi experts, below is the output of show policy-map. PE3-AMS-EU# show policy-map int serial 3/0/10:0 o Serial3/0/10:0 Service-policy output: rao-pe-out Class-map: pe-management-output (match-any) 0 packets, 0 bytes 30 second offered rate 0 bps, drop r

  • Problem Adding IDS in VMS 2.2

    i am trying to add the IDS 4215 and IDSM module which is giving me the following error. This sensor is version 4.1(4)S119 which is not known to the system. Install a Signature update to the system and retry the procedure which i have followed is 1. I

  • InDesign 2014.2 displays beach ball every few seconds

    Hi there, is anyone else having the issue of InDesign being unresponsive every 30s or so? The programm hangs and shows the beach ball for 10s, then it works again. I've turned the preflight off already. Doesn't matter whether I'm editing a book or in

  • Logitech mouse scroll wheel broken in Lion?

    After installing Lion, I can't scroll album-by-album in iTunes Cover Flow with my Logitech USB mouse's scroll wheel. If I flick it fast, it will scroll a few albums, but one click at a time never works. "One click at a time" works in the Finder Cover