Return to parent page in oaf

Hi All,
I have created a custom OAF page and linked the same with 3 standard OAF pages(Lets say Standard-Page1, Standard-Page2, Standard-Page3) in such a way that whenever I click the GO button in any of those standard pages it navigates to my custom page.
As of now when I click the BACK button in the custom page it navigates back to Standard-page1(Because i have given the page1 Path in the pageContext.ForwardImmediately) only even though if I would have opened my custom page from standard-Page2 or 3.
I need to understand what should I do to navigate back to the exact standard page from which the custom page has been opened.
Any help on this would be greatly appreciated.
Many thanks in advance!
Kind Regards,
Myvizhi

Please ask OAF question on the {forum:id=210}
Timo

Similar Messages

  • Return to Parent retaining Cache

    Hello,
    I have a requirement, when i click on link it will open new page by keeping current page as it is.( I have done it using "Target Frame =_blank").
    In second page i am querying and getting one value, this is always single value.
    This is similar to LOV(on click open new page, query , and return to item in parent page)
    Problem:
    Now, i want to return this value to First page(or parent page from which second page was called).
    If i do for forwardimmediately it will open new page, instead i want it to return to first page.
    IMPORTANT is that, if this page reloads i will lose data which are entered.
    How can i do it?
    Please help.

    Keerthi,
    I'm facing a problem.
    1. PAGE A --> PAGE B
    on click "find" button, page A calls page B. some query is done, value is fetched.
    page A is retained and page B opens in new tab.(using Target Frame = _blank)
    2. PAGE B --> PAGE A
    On click of "select" button, value needs to be sent to page A.
    Problem:
    If i fill Destination URI and send data, problem is, it is opening PAGE A again, (so there will be 2 Page A) also TextInputBean value is lost in New Page.
    How can i send value to actual page A (one that actually called page B)
    Please help.

  • Apex in an iframe - only allow access from specific parent page

    Hi,
    I have a simple, unauthenticated Apex 4 application which lets users enter search terms and return records using a classic report. I wish to publish the application within an iframe, so that my organisation's communications department can maintain control over the rest of the page content. A side effect of this solution is that it will be possible for users to lift the application URL from the page source and reuse it elsewhere. I would prefer to avoid this, since I don't want our main website traffic to be diverted. Is there a way to restrict access to an application based on the parent page of the iframe in which it is embedded?
    Thanks in advance,
    Simon

    Hi,
    I'm sure there might be better way than this and this might have some holes , but anyway
    Create HTML region "After header" without template to page zero
    <script type="text/javascript">
    var u="my_ifarme_url_here";
    if(top.location.href!=u){top.location.href=u;}
    </script>Replace "my_ifarme_url_here" with URL your iFrame is located
    Regards,
    Jari

  • Parent page or spread?

    I'm fiddeling around with this one and i beg for some help:
    set currSelection to object reference of item 1 of selection --Script will only be used when text is marked
    set parentTextFrame to item 1 of (parent text frames of currSelection)
    set parentPage to parent page of parentTextFrame --Get the page
    set theLine to make graphic line at parentPage with properties {geometric bounds:{A, B, C, D}, stroke color:"Linecolor", stroke weight:1}
    This works fine. But only if the textbox is on a page. But often I prepare those textboxes left/right offpage on the spread for late usage – then the script doesn' work, because parent page returns nothing, and i cant just exchange that with parent spread. I dont't know how to draw the line there. Further I don't know, if a spread belongs to/has a page number: My document has more than one pages, and the line should be drawed over that marked text on the spread.
    Can someone help me out?

    I made some more adjustments, and this seems to work. I dont know exactly why, but: mates, i think we got this.
    I googled some code which helped someone to create cropmarks on documents with different zero points and came to this:
    set rulerOrigin to ruler origin of view preferences
      if rulerOrigin is not spread origin then set ruler origin of view preferences to spread origin --(spread origin/page origin/spine origin)
    set rulerZeroPoint to zero point
      if rulerZeroPoint is not {0, 0} then set zero point to {0, 0}
    --> Here I nested my code, the fetching of the coordinates (like set Y1 to baseline of first character in selection) and the drawing of the line.
    --> And set it back:
    set zero point to rulerZeroPoint
    set ruler origin of view preferences to rulerOrigin

  • Loading video dynamically on parent page

    I have a list of video links on a portfolio website page. I
    need the video to load in a fixed place on the parent page when the
    link is clicked. When the user clicks a new link, the new video
    should replace the old one in the same spot.
    I have achieved this with images but for the life of me I
    cannot figure out a way to do the same thing for video!!!
    HERE'S THE CODE I USED FOR THE IMAGES-
    function showPic (whichpic) {
    if (document.getElementById) {
    document.getElementById('placeholder').src = whichpic.href;
    if (whichpic.title) {
    document.getElementById('desc').childNodes[0].nodeValue =
    whichpic.title;
    } else {
    document.getElementById('desc').childNodes[0].nodeValue =
    whichpic.childNodes[0].nodeValue;
    return false;
    } else {
    return true;
    Here is a link to my original files to demonstrate what I'm
    trying to do.
    http://www.thomas-bradley.com/TempTesting/anim.html
    I have been stuck on this problem for a long time.
    PLEASE SOMEONE SHOW ME THE LIGHT!!!

    If you use Flash Video, look at Wimpy Audio/Video Player. A
    single player
    can be used to present an entire playlist of media files.
    www.wimpyplayer.com/products/wimpy_av.html
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "Shweta Agarwal" <[email protected]> wrote
    in message
    news:fc8udr$nmi$[email protected]..
    > I have a list of video links on a portfolio website
    page. I need the video
    to
    > load in a fixed place on the parent page when the link
    is clicked. When
    the
    > user clicks a new link, the new video should replace the
    old one in the
    same
    > spot.
    >
    > I have achieved this with images but for the life of me
    I cannot figure
    out a
    > way to do the same thing for video!!!
    > HERE'S THE CODE I USED FOR THE IMAGES-
    >
    > function showPic (whichpic) {
    > if (document.getElementById) {
    > document.getElementById('placeholder').src =
    whichpic.href;
    > if (whichpic.title) {
    > document.getElementById('desc').childNodes[0].nodeValue
    =
    whichpic.title;
    > } else {
    > document.getElementById('desc').childNodes[0].nodeValue
    =
    > whichpic.childNodes[0].nodeValue;
    > }
    > return false;
    > } else {
    > return true;
    > }
    > }
    >
    > Here is a link to my original files to demonstrate what
    I'm trying to do.
    >
    http://www.thomas-bradley.com/TempTesting/anim.html
    >
    > I have been stuck on this problem for a long time.
    > PLEASE SOMEONE SHOW ME THE LIGHT!!!
    >
    >
    >

  • Skillbuilder Modal Page needs to execute a process on the parent page

    Hi,
    I am using apex 4.1 and theme 2. Also I am using the Skillbuilder modal page plugin.
    I have a modal page with a textbox and a button. On click of this button i want to pass the textbox value to the parent page and execute a process on the parent page.
    I dont want to hardcode the page numbers here as this same popup page will be used in all the pages in the application. It is to capture the comments before submit on each page. Hence it should just pass the values to the page that called this modal window.
    Any help greatly appreciated.
    Thanks in advance,
    DS

    Take a look at these:
    {thread:id=2420256}
    {thread:id=2407235}
    Basically: define a dynamic action on your parent page to act on the close event of the modal page. On your modal page, use the close method of the plugin (and possibly provide a return value)
    From documentation
    Advanced Usage
    Methods
    Close*
    The close method can be used to close the modal dialog programmatically. The method accepts an optional parameter which can be anything. That value can then be >accessed in Dynamic Actions that respond to any of the close events of the plug-in. The syntax to access the value is: this.data.modalPageCloseValue. To access the method >from within the child page, see the third example.
    $(document).apex_modal_page('close');
    $(document).apex_modal_page('close', someVariable);
    parent.$(parent.document).apex_modal_page('close');
    Events
    Manual Close
    The Manual Close event fires when the the modal dialog is closed by either the end user or programmatically by the close method. If the close method was used it’s possible >that an optional value was passed to the close method which is exposed in Dynamic Actions as this.data.modalPageCloseValue.
    Close
    The Close event fires whenever the modal dialog is closed, whether automatically or manually.

  • Modal dialog - refresh the parent page on close

    Hi:
    Using Apex 4.02
    I have followied Havard Kristiansen's modal dialog example.
    I have everyting working, but I have a requreimet to refresh the entire page (parent page) on the close of the modal page.
    I have tried quite a few things in dynamic actions on the parent page etc, but nothing is working.
    How can I get the parent page to fully refresh when the modal dialog is submitted and closed.
    Your help would be most appreciated.
    Regards,
    Bruce

    Hi:
    Please - still waiting for help.
    Here is what I have tired:
    - dynamic action on iframe for page unload to call window.opener.doSubmit() and parent.doSubmit();
    - dynamic action on button on ifreame same as above
    - branch (plsql) process to call above
    None of these worked. The modal dialog closes but the parent page dos not refesh.
    I can refresh a report region, but the problem is that the region I want to actually refresh is conditional and is not displayed when you first open the modal dialog. Hence, it does not appear on the return even though the condition is now true.
    Any help would be appreciated please!
    Regards,
    Bruce

  • Get the Values of the components inside the region onto the Parent Page

    Hi All,
    I am using Jdeveloper 11.1.1.5.
    I just wanted to know that my use case can be fitted to contextual events or should i use the #{data.pageDef.Attribute.inputValue} to get the values.
    I have a bounded taskflow "ChildTF.xml" with fragment say "child.jsff".Now i have dragged the ChildTF.xml on the other page say "Parent.jspx" as a region.In the child.jsff page i had input form having 20 fields and all the 20 fields are dragged from a View Object so i don't have the field values binded to the Managed Bean and on the parent page "Parent.jspx" i have a button. Now on click of button i need to get the values of those 20 fields of "child.jsff" page.
    How can i achieve this?
    Thanks
    Shah

    Hi Timo,
    Thanks .
    For sharing the data control i should follow this :-
    In the Property Inspector for the called task flow i.e ChildTF.xml, select Behavior.
    In the data-control-scope list, select shared.
    Is there anything else do i need to do ??
    I mean do i need to add the iterator to the parent page also. ?
    Kindly Suggest!!
    Regards,
    Shah

  • APEX listener returns blank login page

    APEX 4.2.2
    APEX listener 2.0.2
    Glassfish 3.1.2.2
    Platform is 32bit Linux, Amazon EC2
    I am reasonably certain that I have deployed apex.war and i.war correctly to Glassfish, and defined a virtual path and a database connection correctly.
    When running Firefox on the EC2 machine, browsing to
    http://localhost:8080/apex/dad1/
    returns a login page no problem. But browsing to the external, publicly visible, address (I have to obscure the actual address, I'll use a.b.c.d) either from the hosting machine or across the net returns an empty page:
    http://a.b.c.d:8080/apex/dad1/
    This succeeds:
    http://a.b.c.d:8080
    I get the standard Glassfish page so I know Glassfish is listening on that address.
    I have also tried starting the listener standalone, and I get the same effect: it returns a login screen when browsing to the localhost, but going to the external address I get a blank page.
    The pages really are blank, nothing shows in the page source and this is all Firebug returns:
    <html>
    <head> 
    <link title="Wrap Long Lines" href="resource://gre-resources/plaintext.css" type="text/css" rel="alternate stylesheet"> 
    </head>
    <body> 
    <pre></pre> 
    </body>
    </html>
    I have been trying to enable tracing of the request on the server side, but I haven't yet found a way to produce the equivalent of an access.log. Searching the forum did produce a couple of references to "routing rules" but I have been unable to find what and where these might be.
    As the listener works perfectly when going to localhost, I cannot believe that rthis is the common problem of not finding imges, or an issue with url mapping. But I am of course open to any suggestions!
    Any insight will be welcome.
    Thank you for your time.

    Fixed. Finally tracked it down, a redirection problem fixed with patch 16760897.
    Thank you to anyone who looked at this, sorry to have wasted your time, hope posting the solution will assist someone else.

  • Is it possible to launch a form from an OAF page using OAF Personalization

    In R11, the Customer Standard form ARXCUDCI was customized to call a custom block from the Address screen. In R12 the customer standard form has become an OAF page. We have decided to create a custom form for the custom block using Oracle Developer. However we need a mechanism to call this custom form from the Customer Standard OAF page.
    My query is if it is possible to call a custom form from an OAF page using OAF personalization only (i.e. without directly customizing the code of the OAF page)
    Thanks
    Sanjay

    Dear Apurba,
    I have made some progress.
    I have open the Customers OAF Page, queried a customer, selected a site and opened it.
    Then chose Personalize "Account Site Address"
    There I added a Button on the Header Address level
    ID=XXTVL_LASSY_BUTTON
    Populated the Additional Text and Prompt properties.
    Also set Destination URI=form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU.
    The button is now showing in the address page, and when I click on it it opens the seeded Menu form.
    I now have to create the custom form and set Destination URI to the Custom Form.
    I am also aware how to add parameters to Destination URI.
    But could you let me know how to read the value from a OAF page form field and reference it in Destination URI.
    I need the value of PARTY_SITE_ID of the Address OAF page.
    Alternatively, the Site Number is displayed on the OAF page. If I can read it that will also do. I can use the Site Number in the custom form rather than PARTY_SITE_ID
    Thanks
    Sanjay

  • How to make a page that should be inside an iframe load up its parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags, Google et al are almost certain to index these page fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make a page fragment load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas / tutorials / sites I can nick code from / complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • How to make a page that should be inside an iframe load up it's parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags , Google et al are almost certain to index these pages fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make the page fragments load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas/tutorials/sites I can nick code from/complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    Actually, I did carefully choose this forum as being the most appropriate since my question, or rather what I imagine the answer might be, will involve things like scripting and/or cookies.
    Would that not make it "dynamic" enough to remain here?
    Thanks
    Peter

  • Can't get into Mail on iPad 2. Returns to home page with blank white screen.

    Any help appreciated. Recently can not get into mail account on iPad 2. Seems to go to blank white page and then returns to home page. thanks, m

    Hi,
    If your OS is Linux you can update Firefox using the Package Manager / Software Center. After opening the Manager type '''firefox''' in the search area, tick '''firefox''' in the results and apply. You may also be asked to accept additional new dependencies.
    or
    You can directly download the latest version for Linux here: https://www.mozilla.org/en-US/firefox/new/
    It is a zip package and you have to unzip it and run the script file named '''firefox''' inside the unzipped folder. You have to go inside this folder every time to run this file or you can create a link to the '''firefox''' file on the desktop. In this case please note that the old Firefox installation will still exist and the usual links will open that instead of the new one.

  • Is there a way to preview the dissing of the pages on OAF without deployment ??

    Is there a way to preview the dissing of the pages on OAF without deployment ??
    Hi to all,
    I´m recently  working with OAF and the main server are in Argetina, so when I try to make a deploy  to check the development it takes a lot of time. Is there a way to make a preview of the pages (Something like the visual designer of netbeans )
    thanks to all

    Run the page from your JDeveloper locally using the DBC file. I assume you are developing the pages using JDeveloper, so you should be able to run the page.
    Thanks
    Shree

  • How to call a jsp page from oaf and run in jDeveloper

    Hi all,
    I created sample jsp and then tried.
    String temp = "sample.jsp?";
    pageContext.setForwardURL(temp,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    It worked.
    But when i tried with one of the custom page that i downloaded from server it is giving error.
    But now i need to call that page.
    Its Code is given on below link:
    Re: how to call a jsp page from oaf
    Please help me to do this.
    Thanks in advance.
    Regards,
    Raj

    Raj,
    1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
    2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
    (i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
    3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
    4. There is no problem in the way you are calling jsp page from OAF page.
    regards,
    Anand

Maybe you are looking for

  • Ipad and library books

    After two hours last night trying to get the protected book to my ipad to read I am so very grateful to find the app Blue Reader.  WOW!  It was so easy.  I am an idiot with computers but their step by step help section for transferring library books

  • Strange System Files Showing Up Everywhere

    Roughly two weeks ago I started noticing all kinds of unfamiliar system files showing up in a number of my folders. They are always grayed out and as far as I know have nothing to do with the actual folder. These are just straight forward folders and

  • How do i get the system resolution?

    ya ^^ How do i get the system resolution? thx nate

  • How create a tooltips in status bar icons

    the answer is in the title I want to create a tooltips on my application icon tray, in the status bar icon. I think that the solution is in the SDK, but i dont know to implement this code: source MSDN: #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0])) NO

  • How to re-install Mail Services from scratch

    I upgraded 10.4 to 10.5 and mail services did not fare well so I want to re-install mail services as if it was a new 10.5 install. By now I have web services, etc. running nicely so I don't want to start with a total fresh install if it can be helped