How to return to the correct page on Cancel

Greetings,

I have several Apex applications and many of them have the same 'problem '. I have dealt with this, but whenever I create a new application or report that it bothers me. :-)

I usually have a page of common details and several reports in any give Apex application. No need to create multiple pages of detail (one for each report) where 1 is sufficient. On all reports, a person can click on a link to go to the details page for a specific line, but when they click Cancel in the page of detail that it is configured to create a branch to a specific report and the chances are that it is not the report that they were access to the detail page. I want so that it creates a branch to the accurate report from the person. Make sense? How do I do that? I guess that part of the solution is to have the detail of the page to know who to report a person clicks to get the detail page. Don't know how to do it again.

Any help is greatly appreciated.

THX, Tony

Hello

I don't know how to do this through purely APEX applications (do not write in a table in the DB).

However, you can do as part of a is

a. create a component of demand, say FRETURN_TO_PAGE
b. write an application with Point treatment process after a footer that has

:FRETURN_TO_PAGE := :APP_PAGE_ID;

Add the status of type "Current Page is no in Expression1 (commas list of pages)" and add all the Master report of page numbers in 1 delimitd comma Expression
c. in the details report directorates in the branch of Page instead put a digital page number & FRETURN_TO_PAGE. (the last period is important)

That should do it. As and as you add a new report, you can simply add the page number in the process described above.

Kind regards

Tags: Database

Similar Questions

  • How to return to the previous page when I'm surfing the web; I; m used to have the arrow "back"!

    In Internet Explorer, I BACK and forward arrows when looking on the internet, like to check a site such as Wal - Mart.com for an article catalog, but in Mozilla, I can't go back to the previous page without losing the entire program. It MUST be a secret I'm missing... Help!

    You have the toolbar with the URL? If this bar is absent, one of them try to restore:

    • Right click on a zone empty of the tab bar > Navigation bar
    • Press the Alt key to activate the classic menu bar > view > toolbars > Navigation toolbar

    If you do not have menus or toolbars, try the key F11, which toggles between full screen and normal views.

    You can get the button?

    If you have the Navigation toolbar, but the button is missing, you can restore the default configuration using the personalization feature. Either:

    • Right click on a zone empty of the tab bar > customize
    • Press the Alt key to activate the classic menu bar > view > toolbars > customize

    In the dialog box, click Restore Default Set.

    A little luck?

    Furthermore, by default, these keyboard shortcuts also will sail "return":

    • Return key back, when you're not in an edit control (this can be disabled if it is causing problems, see browser.backspace_action)
    • ALT + left arrow (Alt + right arrow goes forward)
  • How to return to the original page, when I click on a hyperlink in the same document

    I have converted a word document to PDF that has many hyperlinks within the same document. Go back to the original page after the hyperlink tab display?

    Thank you

    Heather

    Click previous view or use Alt + back arrow.

  • My Widowsw Live Mail page shows only the "filters" but nothing does seme place in different folders how to return to the regular page that will download n all messages.

    At the opening of my Live E mail.   the folder list fall under "Filters" and yet nothing shows the Inbox or send the details.  or anything else. Now, I am unable to receive emails.     Thank God I still have Mozella Thunderbird always on my computer, it's the only way to use an e-mail program. Help please

    Click on the view tab at the top and then click on filters. By clicking quick view active / turns off the power mode.

  • How to redirect to the previous page

    Hello

    I call you a personalized page of standard OA page when I click back to my custom page

    I want to go to the previous page

    I used pageContext.forwardImmediately ();

    but the page id is not valid error can someone suggest how to return to the original page

    page custom

    The example of tutorial wont support the situation go back to the previous page

    Concerning

    Krishna

    Hello

    Give the URL of the page and the page on the previous page function in the pageContext.forwardImmediately or pageContext.setForwardURL methods.

    Thank you
    Kumar

  • How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    How to navigate to the next page based on the value returned by the method call inside the action attribute of the command key.

    I use JDeveloper 12.1.2.0.0

    < af:button id = "tt_b2".

    rendered = "#{attrs.nextRendered} '"

    partialSubmit = 'true '.

    action = "#{attrs.backingBean.nextAction} '"

    Text = "next".

    Disabled = "#{attrs.nextDisabled}" / >

    private static final String NEXT_NAVIGATION_ACTION = "controllerContext.currentViewPort.taskFlowContext.trainModel.getNext";

    public String nextAction() {}

    If (validate()) {}

    updateModel();

    Return NEXT_NAVIGATION_ACTION;

    }

    Returns a null value.

    }

    Use case is made for model train, which is being implemented based on this blog: http://javacollectibles.blogspot.co.UK/2014/10/ADF-train-template.html

    We define a generic action following in the model, but the action must be called under certain conditions, based on the question of whether all validation controls had been passed on no.

    You can do this in two ways:

    1 returnValue = (String) ADFUtils.invokeEL("#{controllerContext.currentViewPort.taskFlowContext.trainModel.getNext}");

    return returnValue;

    2.

    public String getNextTrainStop() {}

    String nextStopAction = null;

    ControllerContext controllerContext = ControllerContext.getInstance ();

    ViewPortContext currentViewPortCtx = controllerContext.getCurrentViewPort ();

    TaskFlowContext taskFlowCtx = currentViewPortCtx.getTaskFlowContext ();

    TaskFlowTrainModel taskFlowTrainModel = taskFlowCtx.getTaskFlowTrainModel ();

    TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop ();

    Terminus of TaskFlowTrainStopModel = taskFlowTrainModel.getNextStop (currentStop);

    nextStopAction = nextStop.getOutcome ();

    _logger.fine ("train, next stop:"+ nextStopAction ");

    Return nextStopAction;

    }

  • How to perform a necessary task and return to the original page where the obligation was first listed?

    I tried this post a while ago, but I don't think I managed. I hope that this post is not a rehearsal. If this is the case, please forgive me for my mistake.

    *

    While I try to download the creative cloud at 60% of the original price for my smart phone, however, I get an error saying to remove the desktop application.  I had tried earlier install the desktop version, a mistake. I thought that the installation was not complete because I received a message stating that the I need to connect to my computer at home and then try to install the desktop version of creative cloud.

    How to uninstall the desktop version without losing the offer of 60% off the creative cloud?

    How to return to the page where the error message to uninstall the desktop version?

    Thanks for you help.

    A.L.F.

    I don't know what you saw that offered 60%, unless you qualify for an education discount, students & teachers .  This is the page of adobe with plans of non-education, pricing and membership creative cloud | Adobe Creative Cloud

    and you can uninstall any cc on your desktop.

    clean through the use of the Adobe Creative Cloud cleaning tool to solve installation problems

    Restart your computer

    install the application of office cc, https://creative.adobe.com/products/creative-cloud

    You can use the desktop application to install cc trials and, if you have or get a subscription, install non-epreuve versions and convert the non-proces tests.

  • How to return to the thunderbird start page

    When I work in thunderbird sometimes with I to return to the start page. for example, I write a msg and want to return to the start page. What are the steps of keyboard to do from another part of the program?

    CTRL + 1, will bring you to Mail & Newsgroups Home Tab

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

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

  • How to return to the old Web Developer Toolbar?

    I was automatically upgraded to the new Web Developer toolbar, but it has TWO flaws. One is a big problem!
    (1) the search box to change the CSS and the "Close" button is on the right. For as long as I used it, it was on the left. So now, we must all go how we use them.
    (2) (big prob) the function of hierarchical table cells expose them, but unlike the old tool (same year), it also puts to * td * and if it breaks the layout of the site while you try just to see the 'lines' hence are cells.

    Thus, for example: a menu where just the links in shape - they go in all directions, because the ' td who show up, forcing.

    How to return to the old web developer who was simple and better tool?

    UPDATE: I also Can not stop he said "div div div '... When I saw the block-level elements.

    There must be a way to turn off?

    On the addons site, if you scroll down and expand the list of Versions, you can find the page with the old versions. Don't know exactly how to prevent it from re-updated, however.

  • Simulator deploy token not to see the place. How to return to the home screen of the setting screen?

    I tried to test the app on my bb10 Simulator,

    of webworks...\bin, I ggenerated dubugtoken, then use blackberry - deploy deploy IP 192.168.59.130 Simulator.

    but side Simulator, I do not see that this token of debugging has been deployed.

    What should I do?

    How to return to the home screen of the setting screen? There is no back button the page setting of the Simulator.

    Thank you.

    Hi neemliu,

    To return to the home screen, you must slide up from the bottom of the screen. You need to make the same gesture, using your mouse when you use the Simulator. Drag the mouse with the lower edge of the screen to the top.

    What do you see in the output for blackberry - deploy when you deploy the token? He succeeds?

    Have you tried to deploy applications? The process is the same, if you can deploy applications then you should be able to deploy the debugging token.

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

  • 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);
    }

    }

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

Maybe you are looking for

  • Boot camp is no boot device

    Hello community, I used to read every forum/discuss before posting, so it's the first time here. My config: Mac pro 3.1 2008 / Mac osx 10.11 / Boot camp 5 / windows 7 update to windows 10 I have installed since a year now Bootcamp, windows told me I

  • Portege M700 new genuine battery discharge in about 1.5 hours

    Releases of my old original battery in 30 minutes and I bought a new original of the authorized dealer of Toshiba in Croatia. After several days of loading and unloading, the new genuine Toshiba battery discharging 1.5 hours of normal use without tur

  • HP ENVY 5530: HP ENVY 5530 in offline mode

    Hello I had my HP ENVY 5530 for about 6 months, and since the beginning, whenever I print something, I would say that my printer is offline, so I have to restart the printer to print something. The printer works fine with my iPad and my S4 galaxy. In

  • In plain English please can someone tell me how I can get more space on my PC?

    Hi I run Windows XP, 34.4 GB that I have only 12.4 free GB file system is NTFS. I have Service pack 3. When I go into add or remove some programs, it seems to last forever. With 4 or 5 year old stuff. Sometimes, when you install things he'll say «if

  • BlackBerry Smartphone device Media Processor is busy?

    Hi all New on the message boards here - I just downloaded my first mp3 to my BB Pearl 8130. I bought on amazon, then downloaded as a .wav file to try to get thim in my roxio Media Manager.  Just change the type of file to all files and then put a. WA