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!

Tags: Oracle Applications

Similar Questions

  • How to recover programs that are lost after using the software Ccleaner.

    I have a Windows Vista Home Premium computer laptop, before I used the Cclearner I was playing Spider Solitaire, now it has been taken from
    and I don't know how to get it back.
    I tried every way I can think of, but nothing works, can you help me please, thank you.

    I have a Windows Vista Home Premium computer laptop, before I used the Cclearner I was playing Spider Solitaire, now it has been taken from
    and I don't know how to get it back.
    I tried every way I can think of, but nothing works, can you help me please, thank you.

    Hi Lynnsian22! Please use this forum :)

    You must make the system restore to go back to the games.

    Follow these steps:

    1) click Start and in the search type: restore or rstrui or search in the menu start the voice of system restore (Accessories-> system tools)
    (2) now, click on "choose a different restore point.
    (3) choose a date before you deleted the games
    (4) now confirm and your pc will restart

    If you want to get the best results, do Safe Mode.

    I think with this, you can retrieve games :)

    I hope to be State aid
  • Acrobat CC - lost Scripture I posted after using the fill & sign. Help, please...

    Acrobat CC - lost Scripture I posted after using the fill & sign. Help, please... It happened after I merged the two files...

    Hi mannys14196422,

    This problem has been resolved in the last update. Go help--> Check for Updates.

    Please let us know if you still face the question.

    Kind regards

    Sandeep

  • Cannot see data in excel after using the export_excel package

    After using the export_excel package of some cells in the display worksheet "#". If the cell is selected displays the data, but it disappears when you exit the cell and try to print it. Anyone know what causes this problem?

    Thank you

    Hello

    From the following link, the maximum width of a column in Excel 2000 is 255 characters: http://support.microsoft.com/kb/264626

    So, it seems that you may need to be upgraded, divide the cell into 2 or more cells, or add in a few line breaks?

    Andy

  • HP Pavilion Notebook - 15-p206: WiFi lost after updating the BIOS of HP Pavilion Notebook - 15-p206tx on windows 10

    Hello

    WiFi lost after updating the BIOS of HP Pavilion Notebook - 15-p206tx on windows 10.

    Update driver BIOS update effective system is rebooted and the wifi does not.

    Please help me.

    In the box to Ask Me whatever it is next to the Windows icon, type in "Installed updates", and then click view installed updates.

    Select the update that is dated from when you had the question.

    Click it to uninstall.

    You have to restart the laptop afterwards.

  • Does not start after using the recovery Toshiba Tecra M5 - disk

    After using the restore on my Tecra M5 CD, the computer cannot even start!

    What to do in this situation?

    Hi jbdoktor,

    Does that mean exactly?
    Now, what happens if you start the computer?

    Sorry, but without this information it is difficult to help you. Maybe you should try the recovery again disk

  • Should I update all the files from the Toshiba site after using the recovery CD

    I just used my recovery CD and update the Windows Update System.

    The question is: should I update all files in the files on this site download section as well?

    Usually after using the Toshiba Recovery CD everything should works and works correctly
    To my knowledge from time to time Toshiba has released new version of some tools or drivers. For example the BT stack will be developed all the time.
    But I think that if you have any problems with your system and peripherals, then you don't need t to update anything.
    Small is my opinion...

  • My Aspire one 753 does not connect to WIFI after using the Recovery Manager.

    After using the recovery on my Aspire one 753 inbuild Manager my phone doesn't conect to wireless internet. I think the problem has something to do with the drivers, but I'm not sure. need help ASAP

    I used the live usb of ubuntu when I discovered that my network card was acutally one of Intel wifi card. https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=24217&lang=eng&ProdId=3316. Thank you very much for your support on the issue

  • XP unbootable after using the recovery disk, but Linux will be

    I have a laptop Toshiba Satellite L25-S1216. I had some bad virus, so I used the TOSHIBA Windows XP Recovery and Applications/drivers DVD provided with the computer when I bought it. I had used this once recovery DVDs or two before without problem, the last time was about 1 year ago. The recovery process seems to be okay: he seemed to format the disk and copy the files from the DVD to the hard drive. He copied about 5 600 MB hard disk for about 10 minutes and 40 seconds.

    But the computer does not boot from the hard drive after using the recovery DVD. I tried the process several times and it does not start in Windows XP on the hard drive. I checked the settings in the BIOs to make sure he can start, but it does not start in Windows XP on the hard drive. All I get is a white screen with a horizontal blinking cursor, nothing else, no error message, nothing.

    Then I got a copy of Linux (Fedora 14 live) on a CD and started on the computer from the CD R - W, DVD R drive. Then I loaded Fedora 14 hard disk. , I can boot into Linux (Fedora 14) of the fine to hard drive. In fact I use Linux to write this e-mail now. I also see the files that have been copied from the DVD recovery Windows XP on the hard drive, when I'm on Linux.

    Does someone has an idea what could be the problem? The only difference between now and the last time I used the recovery about DVDs a year, is that I had to replace it internal CD R - W, DVD R drive, as a mechanical part was broken. I replaced it with the same exact model (TS-L462) who was in the computer when I got it is new.

    Thank you

    B.

    Not sure how a restore xp cd may give you the option to start the recovery console.

    With a regular xp, recovery cd / repair console is launched all simply by selecting the 'r' on the configuration screen.  Subsequently, the recovery console opens and takes you to the drive prompt.

    In any case, what I suggest is to execute commands to drive at the command prompt that could make the drive bootable again.

    the commands are:

    Chkdsk /r

    Fixboot

    bootcfg /rebuild

    FIXMBR

    Normally, fixmbr running on a laptop is not recommended because it disables the hidden partition that contains the files for recovery.  Then re-enable it manually, is not easy. But since you have your on dvd, then you are lucky.

  • is it possible to save the Office XP for multiple monitors and restore after using the laptop in mobile mode?

    Is it possible to save the Office XP for multiple monitors and restore after using the laptop in mobile mode?

    Hi Kenelms,

    You can follow this link & check if it helps.

    HOW to: Set up hardware profiles for laptop computers in Windows XP

    Hope the helps of information.

    Please post back and we do know.

  • Stupid question CS6. How can I get rid of my experience after using the quick selection tool?

    Stupid question CS6. How can I get rid of my experience after using the quick selection tool?

    The best way would be to make sure that your layer is not a background layer: click the lock icon in this case. Then click the icon at the bottom of the layer panel layer mask. This will create a mask that you can refine and not be destructive.

  • Background layer unlocks and becomes the normal "no flat" layer after using the crop tool in PS CC 2015.1 (a different behavior for older versions of PS)

    Hi all

    I found that it is more difficult to explain than I thought

    I don't like the new behavior in the latest version of Photoshop (CC 2015.1) regarding the way in which the background layers automatically unlock and convert to regular layers after using the crop tool. It's completely different to how things worked in previous versions, where a background layer remained in locked state flattened after using the crop tool.

    I get a LOT of images and this change has added an extra step to each image that I harvest, because I flatten the layers after cropping before saving the image. I looked through the preferences but cannot find a way to change this new behavior. Am I missing something?

    Thanks in advance for your help

    See if checking Delete the cropped Pixels in the tool options makes a difference.

  • I just make the payment for the license, after using the month trial. and when I want to use the programs and said that I must pay. and received e-mail confirmation of payment, that is not what I do

    I just make the payment for the license, after using the month trial. and when I want to use the programs and said that I must pay. and received e-mail confirmation of payment, that is not what I do


    Please see the links below.

    Also, make sure you use the right adobe ID to log in.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • I use the trial version of CS5 version, two years ago. I was deleted from my computer after using the program. Now, once again I want to install a trial version of CS5 on my computer. I want to improve my program information. That copyright law is there a

    I use the trial version of CS5 version, two years ago. I was deleted from my computer after using the program. Now, once again I want to install a trial version of CS5 on my computer. I want to improve my program information. That copyright law are there downsides to the wonder of Adobe?

    Hello

    Please Download CS5 products

    But you can only use it as a trial for a limited time unless you do not provide a serial number to activate the product.

    Kind regards

    Sheena

  • After you have reinstalled my old CS6 Design Standard on a new Mac Pro I can't use the updates in help. I only receive offers on update creative Cloud applications. I don't have any application of CC. How to find updates for my applications CS6?

    After you have reinstalled my old CS6 Design Standard on a new Mac Pro I can't use the updates in help. I only receive offers on update creative Cloud applications. I don't have any application of CC. How to find updates for my applications CS6?

    Beginning of the updates here and product selection, read to see if you need to install updates in the order of the numbers, or if updates are cumulative for the product http://www.adobe.com/downloads/updates/

Maybe you are looking for

  • Pavilion M1Y24UA: audio laptop

    accidently I deleted my audio drivers and I can not find it.plzz give the link to download the drivers. For Pavilion 15ab - 253cl.I have installed realteck audio driver but my system b & o does not work with them.

  • Type of adapter antenna tv for Qosmio F30-140

    Hi all I have a F30-140, which came to me without the antena tv adapter.This model is not imported and officially supported in Bulgaria, so I am unable to find the adapter.Already browsed the site of support of the United Kingdom, but they do not off

  • Save a PDF

    Scenario: I open a PDF file that I have already registered at a given location and continue to add comments or make changes to the document. I then press save (generally this would save changes and I would like to close the document) and he asks me w

  • I've recently upgraded to Office 2016 and also got the latest version of Acrobat Pro, but the Acrobat option does not appear in the Office components. How to make this work?

    I own Acrobat Pro and downloaded the latest version. I also improved my 2016 from office to office, but the Acrobat option does not appear in the Office components like previously in 2013 office. How can I get that back? I often secret several worksh

  • Shorten a page...

    My computer has just returned to the shop and now I can't access my attachments in my email [pdf files] because I have to "ACCEPT" the stupid license agreement; However, I cannot accept the license agreement because the page is too big/long/not retra