How to Navigate to Another page and Back

Hi,
Is there any way to navigate from page1 CO to page 2 (to run its CO) and then immediately return it back to Page 1
Something similiar to method redirectToCurrentPage(), except in my case I want it to execute the CO of the 2nd page and return to page1.
Basically, my page 2 CO populates some temp tables automatically when user logs in based on certain criteria. I want to know in Page 1 CO, if this table will be populated as I need to control some buttons rendering on page1.
I am avoiding having to write the same code (from page2 CO ) to check if any records will be populated and wondered if there was any method which let me navigate to 2nd page and back.
Thanks
Shanky

Hi,
In the PR method of 2nd controller, try using forwardImmidiately() to previous page.
--Sushant                                                                                                                                                                                                               

Similar Messages

  • JSF Page Navigation from Tab to another page and back to tab

    I have a Page with tabs and a button in each of those presenting a Table and "Create Button"
    I would like to go to a new page and come back to the same active tab.
    How do I set the page navigation properties?
    Right now I am in
    Page1(Tab3) Button click-> page2(Create)->Page1 is showing a wrong active tab.
    Can we tell page navigation to go activate a tab it came from?
    Message was edited by:
    spattabiraman

    Hello, maybe if u declare a sessionbean variable as string, in the page u want to open thew tab, in init() you must call the session bean withh the name of the tab u are calling, for example:
    getSessionBean1().setSeltab("tab1");
    i hope it can help
    Beltazor

  • Select value then navigate to another page

    All,
    I am doing something which sounded simple but doesnt seem work for me. Ive a select List item and when a value is selected on change eg EMP_ID value i need to pass that selected value to another/navigate to another page and pass that values to that page item eg P2_EMP_ID.
    i tried below DA but its always showing value=undefined  ?
    $('#P1_NAGIVATEPAGE').change(function() {
    alert('val = ' + $("#P1_XXX option:selected").val() );
            var ac = $('#P1_XXX').val();
            alert(ac);
            if (ac == 'CAMPING') {
                window.location = 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.:P2_XXX:&P1_XXX:';   etc,
    how can i solve in apex 4.2?
    thanks.

    Hi,
    You are using &P1_XXX in your code. This is the value of the item from the moment the page loaded. This means it is not changing on the change of the item value. Your code should be something like this:
    window.location = 'f?p=&APP_ID.:2:&SESSION.::&DEBUG.:P2_XXX:'+ac;
    Regards,
    Kees Vlek
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    +If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.+

  • How can I eliminate the toolbar that comes up every time I swith websights and says Firefox prevented this page from automatically redirecting to another page and when nothing comes up I have to hit ALLOW and most of the time it screws me up

    I am running OS10 on a MAC and every time I go too another web site (most of the time) a new tool bar pops up that says " Firefox prevented this page from automatically redirecting to another page" and on the other end I must hit the button ALLOW because it is usually screwing me up and Iwant to disable it or use another browser

    Options > Advanced > General, un-check "Warn me when web sites try to redirect or reload the page"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • How can I forward next page, and then pop-up a download dialog box.

    My require is that pop-up a download dialog box after forwarding next page.
    I have read the coding in the processFormRequest of current page like below,
    but I find out that it only can pop-up a download dialog box,
    however, it can't forward the next page.
    pageContext.setForwardURL("OA.jsp?page=/oracle/apps/xxfm/fm002/webui/TEST001PG",
    null,
    OAWebBeanConstants.KEEP_NO_DISPLAY_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAException.INFORMATION);
    //set default file name: [YYYYMMDDhhmm_IN.EXCEL,FILE_NAME.csv]
    StringBuffer strFileName
    = new StringBuffer().append((pageContext.getCurrentDBDate().toString().substring(0, 16))
    .replaceAll("-","").replaceAll(" ","").replaceAll(":",""))
    .append("_IN.").append(strExcelFileName).append(".csv");
    //give csv file content
    BlobDomain csvFileBlob = (BlobDomain)am.invokeMethod("createCsvFile");
    //setenv
    HttpServletResponse response
    = (HttpServletResponse)pageContext.getRenderingContext().getServletResponse();
    response.setContentType("application/octet-stream");
    response.setHeader("Content-Disposition", "attachment; filename="+strFileName.toString());
    System.out.println("fileName : "+strFileName.toString());
    //download
    InputStream fileIn = csvFileBlob.getBinaryStream();
    long fileLen = csvFileBlob.getBufferSize();
    int readBytes = 0;
    int totalRead = 0;
    byte blockgbyte[] = new byte[65000];
    response.setContentType("application/x-msdownload");
    response.setContentLength((int)fileLen);
    while((long)totalRead < fileLen)
    readBytes = fileIn.read(blockgbyte, 0, 65000);
    totalRead += readBytes;
    response.getOutputStream().write(blockgbyte, 0, readBytes);
    fileIn.close();
    response.getOutputStream().flush();
    I don't know what's matter in the app, can you tell me how to deal with it.
    Thanks in advance.

    Hi there,
    I have a similar requirement. User will download search results in a CSV file after which I want either the page to be refreshed or to be able to goto a Confirmation page or navigate to another page.
    I tried using setForwardURL / forwardImmediately / redirectImmediately methods as well as redirectToDialogPage. Since we use pageContext.setDocumentRendered(false); and response.getOutputStream().flush(); methods, the HttpResponse is already committed.
    Hence, the page does not redirect to another page as Request is processed and Response is complete. In case of methods like setForwardURL A JSP forward redirects the same request object to the target URL.
    Can anyone help here to achieve the expected requirement?
    Thanks.

  • Is there a way to navigate to another slide and have it open in a pop-up/new window?

    Is there a way to navigate to another slide and have it open in a pop-up/new window?

    Hello Sreekanth,
    What I want to do is create a link that when clicked on opens a file or another captivate file in a new window with no address bar so that when you are finished viewing in the new window it can be closed and you are back on the original window.
    Thanks,
    Alan

  • I am building a website using IWEB, on my computer, and I am stuck suddenly, the page I made yesterday is hidden by another page and I cannot pursue.. Is there a way to learn the process, also I see a contradiction with ILIFE 2011, reading about an announ

    I am building a website using IWEB, on my computer, and I am stuck suddenly, the page I made yesterday is hidden by another page and I cannot pursue..
    Is there a way to learn the process, also I see a contradiction with ILIFE 2011, reading about an announcement of Steve Jobs....? that iWeb would not longer be??

    How is the first page hidden by the other page?  Where are you experiencing this problem?  In iWeb's window or in the browser window of the published site? 
    Are you referring to the page's link in your navbar?  If so check the Inspector/Page/Page pane for the "hidden" page and make sure it's set to be included in the navbar. If that's not the problem describe in detail what you mean and include any screenshots you can make of the problem.
    As far as the longevity of iWeb read the following:
    As you now know iWeb and iDVD have been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    Currently if the site is published directly from iWeb to the 3rd party server the RSS feed and slideshow subscription features will work. However, if the site is first published to a folder on the hard drive and then uploaded to the sever with a 3rd party FTP client those two features will be broken.
    All of these features can be replaced with 3rd party options.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: iW14 - Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    NOTE: the iLife 11 boxed version Is no longer available at the online Apple Store.  To get a copy you'll have to try Amazon.com or eBay.com.
    This may be of interest to you: Life After MobileMe.
    OT

  • How can I save a page and all its component parts in a single file, like IE does as an MHT - it's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)

    how can I save a page and all its component parts in a single file, like IE does as an MHT?
    It's much easier for mailing to people where page address not available?? (as in output from an airline booking site, for example)
    It is simply too painful to have to zip everything up into a single file to send. MHT format has been available for years now from IE, and with every new FF release it's the first thing I look for. I have been using FF for years, and hate having to come out of it, over into IE |(which I even took out of startup) and key everything in again, in order to send somebody something in a convenient format that they can open with a single click.
    I can't believe this hasn't been asked before, so have you looked at it and rejected it? Have MS kept the file format secret?
    Thanks
    MG

    This is not really an answer just my comments on your question.
    I am sure I recollect efforts being made to get mhtml to work with FF.
    Probably the important thing to remember about .mhtml is that if other browsers do support it they may need addons, and may not necessarily render the content correctly/consistently.
    There are FF addons designed for archiving webpages, you could try them, but that then assumes the recipient has the same software.
    You could simply save the page from FF to your XP pc; then offline open it with and save it using IE, before then emailing using FF, and attaching the .mht or mhtml file that you have now created on your PC.
    As an alternative method, in some cases it could be worth considering taking a screen grab of the required page, then sending that to the recipient as a single email attatchment using either a bitmap or jpeg file format for instance.
    Something such as an airline booking may be designed with a print option, possibly it could be worthwile looking at sending the print file itself as an email attachment.

  • My App Store Icon is stuck in Newsstand. How do I get it out and back on to home screen?

    My App Store Icon is stuck in Newsstand. How do I get it out and back on to home screen? Have tried via itunes to move it and also swipping it - just won't come out.

    I have the same problem!  Let me know if you manage to sort it out.  My iPad did the same thing but to full restore from iTunes sorted that out. Have you tried that? No such luck with my iPhone.

  • Linking to a specific panel from another page and from higher up on same page Spry-UI-1.7

    Hi all,
    I am using Spry-UI-1.7 for a 4 tab tabbed panel on the bottom of my home page.  I'd like to link to the second tab from another page and also from the top of the home page.
    I previously used method: http://foundationphp.com/tutorials/spry_url_utils.php and it worked great.
    Now, with the Spry-UI-1.7 Tabbed Panel "widget", that method isn't working.
    I've reviewed the code from the samples page: http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    but cannot figure out what I am doing wrong.  It shows the following code for linking from another page:
    <a href="#" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>
    I tried this 'as is' and it didn't work. 
    I tried it with index.html in place of the # and it didn't work.
    (e.g.   <a href="index.html" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>   )
    What am I missing here?
    (I have the tabbed panel on "index.html" and want to link from "maps.html" and from the top of "index.html"
    Thanks for any help for this spry newbie! (read: I need it spelled out like I was a 6 yr. old

    This works
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryTabbedPanels2.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js" type="text/javascript"></script>
    <link href="Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2138522" binding="#TabbedPanels2" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: false,
                defaultTab: params.tab ? params.tab : 0,
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    </body>
    </html>

  • How do I see the front and back arrows on the left hand side of my macbook pro?

    How do I see the front and back arrows on the top left hand side of my macbook pro?

    Click "View' menu in the application menu bar select Show Toolbar
    or
    click "Customize Toolbar" and drag the arrows or "default set to the Toolbar".
    Best.

  • Firstly I updated my ipad into ios7 and after watching the video by Apple, iWork, pages and numbers are free for download after updating iOS 7. How can I download iWork pages and number for free?

    Firstly I updated my ipad into ios7 and after watching the video by Apple, iWork, pages and numbers are free for download after updating iOS 7. How can I download iWork pages and number for free? Please help me.

    stevejobsfan is correct; iwork for ios is free only for new purchases of new ios devices. A good work around (if you have wifi connectivity) is going to the icloud website on your ipad, and working on your document.
    A word of caution (the real reason I am responding to your post). If you do a lot of 'formatting' of a document on iwork for mac, and then save it in icloud; you will probably loose most of the formatting you have done (this will be true if you oppen the document in iwork for ios; also) It happened to me, and I did not duplicate the document before saving it to icloud; I lost at least an hours worth of work.

  • How many megapixels is the front and back cam on ipad 2?

    i wanna no how many MP are the fron and back cam in an ipad2 3G and Wifi version

    While those numbers seem low its important to remember what the ipad cameras are for. They are not for taking photos. Who wants to hold up a huge ipad to take photos anyway when the chances are we all own a camera phone with much higher resolution or better yet, a real camera.
    The cameras are designed for video. The front camera is good enough for facetime only while the rear can handle 720p video. Again, enough for a video call but thats about it.

  • I am always notified when redirecting to another page and I now want to disable that feature and how can I ALLOW all the time?

    I always get a warning notice that Firefox can "Allow" or "Don't Allow" the redirection to another page. I am now SICK of that feature and want to know how to turn it off, please.

    Try this instead:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. Select the backup volume from the left side list. Click on the Erase tab in the DU main window.
    3. Set the format type to Mac OS Extended (Journaled.)
    4. Click on the Erase button.
    You will need to reconfigure Time Machine preferences for the backup.
    FYI: Never remove Time Machine backup data except through the Time Machine application. If you aren't sure about using Time Machine then visit Pondini's Time Machine FAQ for help with all things related to Time Machine.

  • When I last up dated Firefox the forward and back arrows dissapeared. Now if I want to go back I have to go to History to get back to previous page. How do I get these forward and back arrows?

    On MSN web sight there use to be forward and back arrows on the left hand upper side of page that let me go forward and back from page to page. Now the arrows are gone and I have to use the History or Bookmarks to move back and forth.
    The arrows didn't reappear when I up dated to the new foxfire.

    Click the Firefox button, go to Add-ons, then Plugins and disable the following:<br><br>
    * Fun Web Products Plugin<br><br>
    * My Web Search<br><br>
    Both of these are adware/spyware and cause performance issues in Firefox.
    Next, click the Extensions menu link (above Plugins where you are) and remove the "Ask Toolbar".
    If the problem persists, please do the following:<br><br>
    #Click '''Help '''| '''Restart with Add-ons disabled'''.<br><br>
    #In the next menu which appears, checkmark: "'''Reset toolbars and Controls'''".<br><br>
    #Finally, click the button called "'''Make changes and restart'''".
    Just in case you weren't aware of it, you can right click the Back or Forward buttons to get a list of sites visited. If you'd like to see the return of the arrow on the Back button, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    Last but not least, some of your plugins are seriously out of date which exposes your system to exploits. Please visit the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.
    See: http://www.adobe.com/support/security/bulletins/apsb11-08.html

Maybe you are looking for

  • Ability to hide characteristic from user in Query Definition

    Hello All, Is there a way (table entry, enhancement, mod, or other) to make a characteristic within a cube not be available for selection within the BEx query designer.  Although relevant for the cube we do not want it available to the users for repo

  • Odbc data source missing

    i am trying to connect to a ms access database from my .jsp. i am getting an error that says it cannot find the data source. i have checked and the data source is there. anyone know what i can do?

  • BAPI to change INFO record and Scheduling Agreement (ME32)

    Can anybody tell me what is the bapi function module used to change the info record and a bapi function module used to change the scheduling agreemnent (ME32)

  • What is the obsession for doing this?

    Ok, it's a part rant and a part question. I have a developer who uses code peppered everywhere for something like this. select max(column1), max(column2)    into l_column1, l_column2   from table where unique_key_column := p_value;My guess would be t

  • Dual Monitors HP

    Trying to set-up dual montors using an HDMI cable located under the DVD slot on the right side of the computer.  My computer is an HP ENVY 23se-D394 I am trying to extend the desktop only. thanks This question was solved. View Solution.