Return to the calling Page

Hello

I use APEX 4.1.1 and here is my dilemma: I have 2 pages A and B both reach page C. On the C page, when the user clicks on the button "Apply Changes" I need to go back to A or B depending on what page is call to C. For the pages A and B, I put the 'Request' value in the 'Column link' section to identify which page makes the call. Then on the C page, I created 2 branches (a and b) with the status "request = Expression 1" where 1 is the value that I assigned in A and b. When loading the page C, I can see the value I have assigned in the URL, but when I click on 'Apply changes' page submit and remains on the C page.

Any help with this is greatly appreciated.

Thank you

Will be

user9130472 wrote:
Hello

I use APEX 4.1.1 and here is my dilemma: I have 2 pages A and B both reach page C. On the C page, when the user clicks on the button "Apply Changes" I need to go back to A or B depending on what page is call to C. For the pages A and B, I put the 'Request' value in the 'Column link' section to identify which page makes the call. Then on the C page, I created 2 branches (a and b) with the status "request = Expression 1" where 1 is the value that I assigned in A and b. When loading the page C, I can see the value I have assigned in the URL, but when I click on 'Apply changes' page submit and remains on the C page.

Any help with this is greatly appreciated.

Thank you

Will be

Create an element on the page c lets say PX_FROM_PAGE.

Create an unconditional branch/modify an existing page c and page target value * & PX_FROM_PAGE.*

Now, when you call page c to page a / b include the PX_FROM_PAGE parameter with the corresponding page number. Example when calling c page of page one will include the PX_FROM_PAGE to the appeal with page not a

Thank you
Vikram

Tags: Database

Similar Questions

  • R12.2.4 data lost after using the dialog Page and return to the calling page. (Help please!)

    Hi team,

    I'm new to OAF and works on a requirement to add some custom validation when the user clicks a button in a seeded standard page.

    The approach I took was to extend the seeded controller object managed this press event button and put my custom logic in the extended controller and substitute the standard controller through customization.

    The standard rate which was pressing the Complete button A Page, the user was taken to the next and epepinee page (Page B) some operations based on records that have been chosen Page A.

    Part of the custom validation requirement that was if some postings were not met, the user must be a pop-up asking if they really wanted to move forward and if they have selected Yes then continue with the seeded standard flow (transition to page B) and if they have NOT selected then just remain on the current page.

    I have used OADialogPage and to do this, in part, the question , I am running into is that when the user selects one or more records using a check box in a region of several record (table) and click the full page and if the validation fails then a modal page and the user made a selection i.e.either Yes or no modal page and when they return to the calling page (ex. Page A), all data (records) they chose previously is lost (the Page is refreshed). Based on what I see on this forum, I suspect it's because after having click Yes on the modal page and then return to the original page the processRequest fires again and the VO data is queried again and has all the parts on the page are lost. Since I am changing the flow in seedlings pages based on the intervention of the user I'm confused as to how this problem can be solved. that is, prevent the page refreshes or preserve the selections that were made before you navigate to modal page. Any help is really appreciated!

    My Code:

    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)

    ...

    ...

    If (oapagecontext.getParameter ("completeOps")! = null) {}

    ...

    ...

    If (warnCount > 0) {}

    OAException message = new OAException ("not in order...", OAException.WARNING);

    oapagecontext.putDialogMessage (message);

    OAException message = new OAException ("XYZ Violated rule. Do you want to continue? ", OAException.WARNING);

    DialogPage OADialogPage = new OADialogPage (OAException.WARNING, message, null, "","");

    String Yes = oapagecontext.getMessage ("AK", "FWK_TBX_T_YES", null);

    String number = 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 Yes button Action code

    oapagecontext.putParameter ("completeOps", "Continue");

    }

    If (oapagecontext.getParameter ("ConNoButton")! = null) {}

    Write the code of the Action for the No button

    Dim errormsg = ' rule Violations have occurred. "

    throw new OAException (errormsg);

    }

    super.processFormRequest (oapagecontext, oawebbean);

    }

    I managed to work around this problem by adding a simple control in my controller processRequest method extended to avoid the call to super.processRequest incase lhen control returns to the page once the user has made a selection on the Page of the dialog box

    If ((oapagecontext. (GetParameter ("ConYesButton") == null) & (oapagecontext.getParameter ("ConNoButton") == null)) {}

    super.processRequest (oapagecontext, oawebbean);


    }


    Thank you!

  • Helps the modal dialog box a value back to the calling page

    Greetings,

    Apex Version: 4.1.0.0.32


    What I'm trying to do is create a modal dialogue that is called from a form page. The user dialog box will report to IR which allow him to select a line and send a value of this line to a field of the calling page. I work in Firefox, but I get an error using IE 8. I hope that someone can show me why it does not work in Internet Explorer.

    Here's how I do it:

    Of the calling page:

    Created a button
    Action: Redirect URL
    Target URL: javascript:var rc = window.showModalDialog ('f? p = & APP_ID.:70: & SESSION.: & DEBUG.:', ",'resizable: Yes;) Center: Yes; dialogWidth:1000px; dialogHeight:500px ;') ;


    On the page called:

    The called page is an IR report where the query returns this as one of the columns:

    * (Note: I had to put a point '.' before the onclick so he could show in this thread.) It is not there in my actual code.) *
    select
    <a href="#" name="z" style="color:blue; text-decoration:underline;" .onclick="javascript:passBack(''' || LOT_NO ||''');">Select</a>' SelectThis
    , column1
    , column2
    from sometablename;
    This solves the anchor:
    <a .onclick="javascript:passBack('232158');"  href="#">Select</a>
    Here is the function Javascript is called the anchor onclick:
    function passBack(passVal1)
    {
      opener.document.getElementById("P75_ITEM1").value = passVal1;
      close();
    }
    When I run the present in Firefox, it works as expected. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and it returns the correct value to the appellant and closed page modal dialog box.

    When I run it in IE8, it fails. I click the button on the parent page. The modal dialog box is open and the report of the IR is displayed. I click on one of the links in the report and I get this error: 'opener.document is null or not an object ".

    I hope that it is clear and that someone can help.

    Thank you

    Larry

    A quick google search determines that window.opener does not exist when you use window.showModalDialog

    Range of suggestions to use window.open instead of window.showModalDialog to use instead of window.opener dialogArguments

    Try the following:

    The parent page to define a getPopupValue() function:

     function getPopupValue(){
       var dr =  window.showModalDialog('f?p=&APP_ID.:70:&SESSION.::&DEBUG.:::','','resizable:yes;center:yes;dialogWidth:1000px;dialogHeight:500px;');
    
        if ( (dr != undefined) && (dr != '') && (dr != false) ){
         $x("P75_ITEM1").value = dr;
        }
     }
    

    Change the url of the button to call the function:

     javascript:getPopupValue(); 
    

    On the popup page change the valve function for:

    function passBack(passVal1)
    {
      returnValue = passVal1;
      close();
    }
    
  • My ipad to randomly shut off applications and the internet and returns to the home page

    iPad 2 keeps returning to the home page of apps or

    sites Internet do - what I have to do? The software is

    iOS 9.3.2.

    Most likely, you have simply reached a point of overload with too many apps or too many browser tabs consume 100% of CPU. Try closing some of the apps when you want to open new ones.

  • What is the shortcut to return to the start page

    After traveling for a while, I want to go back to the start page, but for now, there seems to be no way to do except continuously and repeatedly returning through the pages I was visit one by one while in all other browsers, there is a home button

    You can type the address bar and type about: House. It is possible to return to the home page by closing all tabs open as well.

  • I don't want the BACKSPACE to return to the previous page.

    When you type in a text box if I accidentally type a space (or two spaces) I can't use the BACKSPACE fix because he wants to send me instead, return to the previous page. I would like to disable the BACKSPACE key to exercise this function altogether. I don't want to use this keyboard shortcut, but I can't find how to turn it off. This keyboard shortcut does not show until I upgraded to version Firefox 18.

    You can bookmark the base article of MozillaZine knowledge for future reference.

    Note that there is also this extension:

  • cannot stop at several new tabs to open boxes at least three every time I have leave and return to the home page or restart Firefox

    cannot stop at several new tabs to open boxes at least three every time I have leave and return to the home page or restart Firefox

    Hi TGreybeard,

    Have you looked at the Knowledge Base article Firefox opens several times empty tabs or windows after clicking on a link ? There is some good information in there that should help you to solve the problem.

    Hope this helps!

  • My Green to return to the previous page arrow disappeared

    The green arrow that I use to return to the previous page disappeared

    This has happened

    Just once or twice

    Menu bar (File, Edit, View, history, Favorites, tools, help)

    Press Alt V T M (CTRL + V T M on Mac) on your keyboard. This should restore the menu bar (Firefox 3.6)

    Other toolbars

    View | Toolbars | Select the desired toolbar

    Other measures to try

    Try to restore the default value set by going to display. Toolbars | Customize | Restore the default set. This will put the toolbars in the default slot

    Safe mode

    You may need to reset toolbars and controls through Firefox in Safe Mode troubleshooting questions
    Make sure that completely close Firefox first. When you get to the Safe Mode window, select controls and then make changes and restart and reset toolbars.

    I hope this helps!

  • Unable to return to the previous page

    I have to click many times back key to return to the previous level when you navigate.  Sometimes I can't go at all and have to start over. Others have the same problem?

    OT:browing problem

    Hi Ron,

    From your problem description, I understand that you must click several times to return to the previous page in the navigation. Please let me know if you do not experience this problem.

    1. what web browser do you use?
    2. the problem occurs with any particular web page or Web pages?
    3. do you have your software antivirus installed on the computer?
    4. If you are using Internet Explorer, then you use Modern user Interface Internet Explorer or office internet explore?

    The information is not sufficient to answer your question. Please provide us with more information to answer your question better.

  • This failure has occurred: {0}. your changes have not been saved. Click OK to return to the list page.

    Nothing has changed on the device as so far, I am aware, but lately when I click on group under Default Device Admin map, I get this error and I can't make changes:

    This failure has occurred: {0}. your changes have not been saved. Click OK to return to the list page.

    Version of the ACS:

    Cisco ACS VERSION INFORMATION

    -----------------------------

    Version: 5.8.0.32

    The identifier for the internal version: B.442

    This error does not appear to be related to

    CSCud78248    Failure of system ACS 5.4 administrative access control

    as I have no identity configured for the RADIUS server. I use this unit for RADIUS authentication. Any help is very appreciated!

    What browser and version are you using?

    If it of firefox and automatically has ugraded to the latest version of FF 46; There is a patch being released today and which will focus on similar issues seen when using the FF 46 version

    Will be 5.8 patch3. a rollup that includes all the fixes in previous patches (1 and 2) posted release ACS 5.8

  • Hi, I have another problem, when people visit my site that they could not return to the home page

    Hi, I have another problem, when people visit my site that they could not return to the home page

    Hello

    Problem is in outline view.

    Please follow the steps below and you should be all set.

    1. go in the Plan view.

    2. right click on the 'HOME' page

    3. Select "Menu" > "include the Page containing the hyperlink.

    4 save the file and then try to preview.

    You should be all set.

    Concerning

    Vivek

  • Please Urgent: OFA treatment of control on the page never returned to the home page!

    Hello friends,

    I have a strange problem and I can't understand why? Since it works in my flowlessly Jdeveloper, but when I deployed to a Dev instance, after the launch of the download of the home page (submit) process, the control never returns the processing page, but in the background the process to download/validate successfully, since I checked on the server, recently downloaded file path exists.
    For example. PVU_FILE_20111017_141019_XXCONV.csv
    I appreciate your help, please let me know where I'm going to question?

    1. on Jdev - treatment page turning the heart control back to the homepage - YES
    2. on instance - treatment page turning the heart control to return to the home page - no.

    Instance details:
    Jdev path: p8431482_R12_GENERIC
    OA framework ver: 12.1.1


    Main Page:
    Xxsmgt_ManualDataUploadPG.XML
    Xxsmgt_ManualDataUploadCO.Java

    Treatment Page CO
    ValidateProcessCO.java



    ===================================================
    The controller's main page: Xxsmgt_ManualDataUploadCO
    ====================================================

    public void processFormRequest (pageContext, OAPageContext,
    {OAWebBean webBean)

    If (pageContext.getParameter ("Submit")! = null) {}
    System.out.println ("Xxsmgt_ManualDataUploadCO_Submit_BEGIN");
    BlobDomain uploadedByteStream = null;
    String uFileName = null;
    DataObject fileUploadData = null;
    OAWebBeanFileUpload uploadObj = null;
    OAApplicationModule am;
    AM = pageContext.getApplicationModule (webBean);
    fileUploadData = pageContext.getNamedDataObject ("FileUpload");
    uploadObj =
    (OAWebBeanFileUpload) webBean.findChildRecursive ("FileUpload");
    If ((uploadObj.getValue (pageContext) == null)) {}
    am.invokeMethod ("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage (expMsg);
    }
    If (fileUploadData! = null) {}
    try {}
    uFileName =
    (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");
    } catch (Exception ex) {}
    uFileName = null;
    am.invokeMethod ("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage (expMsg);
    }
    }
    If (uFileName == null) {}
    am.invokeMethod ("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage (expMsg);
    }
    uploadedByteStream =
    (BlobDomain) fileUploadData.selectValue (null, uFileName);

    am.getOADBTransaction () .putTransientValue ("uploadedByteStream", uploadedByteStream);
    am.getOADBTransaction () .putTransientValue ("uFileName", uFileName);

    OAMessageChoiceBean = riceObj
    (OAMessageChoiceBean) webBean.findIndexedChildRecursive ("RiceObject");
    String riceObjName =
    (String) riceObj.getSelectionValue (pageContext);

    OAMessageChoiceBean pathObj =
    (OAMessageChoiceBean) webBean.findIndexedChildRecursive ("DestPath");
    String pathText = (String) pathObj.getSelectionText (pageContext);

    OAProcessingPage page =
    new OAProcessingPage ("usps.oracle.apps.xxsmgt.mdu.webui.ValidateProcessCO");
    page.setApplicationModuleDefName ("usps.oracle.apps.xxsmgt.mdu.server.Xxsmgt_ManulaDataUploadAM");
    page.setRetainAMValue (true);
    page.setConciseMessage ("validation of object of rice [more than 10 MB of files can take a long time to download].");
    page.setDetailedMessage ("object Type of rice: [" + riceObjName + "]")
    "] < Other > file name: [" + uFileName + "']". ");"
    page.setProcessName ("Validation process is underway! Please do not close this window. ») ;
    pageContext.forwardToProcessingPage (page);
    System.out.println ("Xxsmgt_ManualDataUploadCO_Submit_END");
    }

    }

    ==============================================================================
    Treatment Page CO
    ValidateProcessCO.java
    ===============================================================================

    SerializableAttribute public class ValidateProcessCO extends OAControllerImpl {}
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion (RCS_ID, "packagename %");

    /**
    * Layout and logical configuration for a region page.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */
    {} public processRequest Sub (pageContext OAPageContext, OAWebBean webBean)
    super.processRequest (pageContext, webBean);
    }

    /**
    * How to manage remittances form for form elements in
    * a region.
    @param pageContext OA page context
    @param webBean the grain of web for the region
    */
    public void processFormRequest (pageContext, OAPageContext,
    {OAWebBean webBean)
    super.processFormRequest (pageContext, webBean);

    System.out.println ("Xxsmgt_ValidateProcessCO_BEGIN");
    OAApplicationModule am;
    AM = pageContext.getApplicationModule (webBean);
    BlobDomain uploadedByteStream = null;
    String uFileName = null;
    OAException exceptionMsg;

    uploadedByteStream = (BlobDomain) am.getOADBTransaction () .getTransientValue ("uploadedByteStream");
    uFileName = (String) am.getOADBTransaction () .getTransientValue ("uFileName");

    try {}

    [Serializable] params = {uploadedByteStream, uFileName};
    Class classType [] = {BlobDomain.class, String.class};
    exceptionMsg =
    (OAException) am.invokeMethod ("ValidateAndUpload", params,
    ClassType);
    } catch (Exception e) {}
    exceptionMsg =
    new OAException (e.getMessage m:System.NET.SocketAddress.ToString (), OAException.ERROR ());

    am.getOADBTransaction () .removeTransientValue ("uploadedByteStream");
    am.getOADBTransaction () .removeTransientValue ("uFileName");

    pageContext.putDialogMessage (exceptionMsg);
    pageContext.forwardImmediately ("OA.jsp?page=usps/oracle/apps/xxsmgt/mdu/webui/Xxsmgt_ManualDataUploadPG",
    NULL,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    NULL, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    }

    am.getOADBTransaction () .removeTransientValue ("uploadedByteStream");
    am.getOADBTransaction () .removeTransientValue ("uFileName");

    pageContext.putDialogMessage (exceptionMsg);
    pageContext.forwardImmediately ("OA.jsp?page=usps/oracle/apps/xxsmgt/mdu/webui/Xxsmgt_ManualDataUploadPG",
    NULL,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    NULL, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    System.out.println ("Xxsmgt_ValidateProcessCO_END");
    }

    Published by: 891884 on October 17, 2011 13:25

    Published by: 891884 on October 17, 2011 13:57

    This is a correct path? page = usps/oracle/apps/xxsmgt/mdu/webui/Xxsmgt_ManualDataUploadPG
    It takes/usps/oracle /...?

  • duplicates sound on top of itself when you return to the home page

    I have a question about loading a file mp3 in flash. mp3 is loading and playing very well, but if I click on a button to access a new framework and then click another button to return to the home page, a new copy of the audio clip even is loaded on one that is already running, causing two audio files to play at the same time. He'll keep load a new copy of the audio clip whenever I come back to the homepage. How can I fix it? Here is the code I use:

    var url: String = "testMusic.mp3";
    var urlRequest:URLRequest = new URLRequest (url);
    var sound: Sound = new Sound();
    Sound.load() (urlRequest);
    Sound.play();

    red_btn.addEventListener (MouseEvent.CLICK, goSomewhere);
    function goSomewhere(event:MouseEvent):void {}
    gotoAndPlay (15);
    }

    There is also a similar function that jumps to frame 1 (homepage).

    :

    var alreadyStarted:Boolean;

    {if(!alreadyStarted)}

    alreadyStarted = true;

    var url: String = "testMusic.mp3";
    var urlRequest:URLRequest = new URLRequest (url);
    var sound: Sound = new Sound();
    Sound.load() (urlRequest);
    Sound.play();

    red_btn.addEventListener (MouseEvent.CLICK, goSomewhere);
    function goSomewhere(event:MouseEvent):void {}
    gotoAndPlay (15);
    }

    }

  • CFinclude and mappings? Images not displayed on the calling page

    I can't find it. I have a cfinclude on a page. "The original model has an image inside < a href="/image/pic.gif ">, which does not appear on the calling page. I understand that I need to create a mapping on the server see

    She asked a logical path and a directory path. I don't know what to put here; I tried all the variations and the pictures do not always show on the calling page.

    Thanks anyway. I found another solution.

    For other people, I created an application variable with the full virtual path including the domain name in Application.cfm.
    http://www.domain.com/">

    I then use the variable in the img src, which is in the include file:

    Now the cfinclude can go in any folder on the server and apply to any page on the server, and the url of the image will not be broken.

  • How to set the binding on a LOV variable based on the value of the calling page

    Here is the scenerio: Page is a login (username and password) page and their values are stored in a pod of support. On successful login page two is called (createRequest) based on
    a view object 'Userequest '. One of the fields is EmpNo which is a selection on the element of choice ("EmpByMrgLOV" read only view Explorer that contain the variable bind "UserNameId"). I want only to be displayed in the LOV
    employees who report to connected users. I tried different ways to set this parameter, but without success. It's my first attempt using JDeveloper and ADF and 4 days have already
    was devoted to it. Can someone please tell me where and how to proceed? Be as detailed as possible. I use Jdeveloper 11.1.2.3.
    Thank you.

    Published by: spcornell on February 27, 2013 12:09

    If your still to know how to to this topic, here's an option. I hope this helps.

    -----------------PART 1-----------------------------------------------------------------------------------
    Override the default constructor as this.
    lov instance will be created after the entry of the TF of the 2nd screen, so by LoggenInUser then will start,
    and will be used to create the instance of lov uses this value as a bind variable.

    SerializableAttribute public class EmpByMrgLOVImpl extends EmpByMrgLOV {}

    private String myusernameid ="";

    /**
    * This is the default constructor (do not remove).
    */

    public EmpByMrgLOVImpl() {}

    Set usernameid here when built
    get the usernameid of the bean class - btw the bean will be updated on the Taskflow method call before execution and now and set in constructor
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ELContext elContext = facesContext.getELContext ();
    ExpressionFactory expressionFactory = facesContext.getApplication () .getExpressionFactory ();
    ValueExpression exp = expressionFactory.createValueExpression (elContext, "#{mySOMEBean.LoggedInUser}", Object.class);
    This.myusernameid = (String) exp.getValue (elContext); set the user to act as link var

    }

    {} public void setmyusernameid (String myusernameid)
    This.myusernameid = myusernameid;
    }

    public String getmyusernameid() {}
    Return myusernameid;
    }

    }

    -----------------PART 2--------------------

    variable binding must Access EmpByMrgLOV VO using groovy as below

    You EmpByMrgLOV YOUR query tab, add bind var as below:
    Name = EmpSOMEUser (change to what your query)
    Type = String
    Value = ADF. Object.viewObject.myusernameid

    -----------------PART 3--------------------
    Once you have created a method taskflow run between your fist and 2 nd page, add set / gets in the bean for the var as below

    public MySOMEBean {}
    private Stirng LoggedInUser ="";
    {} public void someMethodCalledBeforeTFEntryintoSecoundScreen (String loggedinuser)
    if(loggedinuser!=null)
    setLoggedInUser (loggedinuser);
    else {}
    System.out.println ("not loggedin user");
    setLoggedInUSer (null); This will result in a null btw pointer
    }
    }
    public setLoggedInUSer {(String loggedinuser) {blah blah}}
    public String getLoggedInUser() {blah blah}
    }

    So part3 gets put first based on what you collect on your first page, then
    part1 at lov construction that uses part3 for her time

Maybe you are looking for

  • How can I remove my name from outgoing mail?

    I don't want my name to show outgoing mail

  • Firefox crashes every 10 minutes. Looks like it's day or something

    I use Firefox version 6 and Windows 7. Every 10-15 minutes I need a break using firefox because it crashes, I can't use for about 40 seconds, because it seems that day or do something else. I already tried to use firefox without open other programs,

  • Mathematical functions with input/output error

    Please refer to the attached picture. Where do you find these mathematical functions with input/output error? I saw these in response to a message.

  • No sound in my laptop

    Well, my laptop has no sound, but if I plug the headphones I hear the sound but not in speaker

  • Audio IBM 8183-DTU?

    Is there a workable Win 7 audio driver for this machine? I tried the Lenovo support site, and the Configurator says: something to the effect of "no results found". This machine has been purchased from geeks.com as a refurbished PC before they close t