How get control back to the page when OAException is raised

Hello

I am facing a problem where I need to get control back to the page after the oaException has been lifted on the page for a scenario (with custom Message).
Because we have some javascript validations to be run on the same page, even if a warning is lifted through OAException for a few reasons.

Please suggest me if there is no function to take in charge control once after the exception is thrown with the personalized message in the page (or) is there another class or function can be used to send a message with the symbol 'WARNING' that returns control to the page once it is made to go ahead with the postings.


I appreciate your valuable answers.


Thank you
Trehout

Hello

I think that since this is a warning message, you can use the API putDialogMessage on the code of the controller, then you can do this by using:

  if (test_warning) {
      // Warning condition, adding a warning display to page
      OAException warning = new OAException("APP","MSG_NAME", tokens);
      pageContext.putDialogMessage(warning);
      // Since putDialogMessage does not stop processing,
      // we can call App Module logic or further processing
      am.invokeMethod("DoSomethingAfterWarning");
  } else {
      // Process without warnings
  }

In this way, you can put a Message of dialogue as does an OAException, without harming the javascript validation, I think. Pay attention to the fact, however, that although an OAException stops the treatment at the time wherever it is thrown, a call to putDialogMessage does not stop the code below himself to run. If you need to stop treatment, join this call in an IF block so that it is running and then jump at the end of the processFormRequest or processRequest method.

It will be useful,
Thiago

Published by: Thiago on December 26, 2008 11:48

Tags: Oracle Applications

Similar Questions

  • My market has lost its CSS formatting! How can I get this back/install the new market?

    Hello

    in recent weeks, when I start the Firefox Os market, I see an HTML formatted without any layout. Somehow, I lost the page layout information. How can I get it back? The first idea was reinstalled on the market. But this isn't an app on the market...

    Please help me. using the market without layout may not be used for long periods.
    Other applications all work correctly. The market had a layout, when I bought the smartphone (ZTE C open).

    concerning
    AK

    Hi page,.

    I understand you are having problems viewing the content on Firefox market, and that the CSS formatting seems to be missing.

    Can you please attach a screenshot of what you feel?

    What happens when you try to access the market via the browser, clicking on [marketplace.firefox.com]?

    We can't wait to hear back on your part.

    Thank you

    -Ralph

  • How can I disable him flipping back between the pages with PgUp and PgDn? Please tell me that I can!

    From Firefox 4, it seems to have been decided that PgUp and PgDn are now buttons with which you return back between the pages. For me, this means essentially almost lose valuable information, because I actually use up and down pages, so I wonder. How can I disable this new and quite bothersome?

    Please tell me that I can!

    In the details of your system, I see this card installed: Macromedia Shockwave for Director Netscape plug-in, version 8.0

    You also seem to have the last, although always obsolete installed namely Adobe Shockwave for Director Netscape plug-in, version 11.5

    First, click on the orange button Firefox, go to add-ons and Plugins and disable the version of Macromedia.

    Then go to http://get.adobe.com/shockwave/ and update it.

    If the problem persists then, try running Firefox in Firefox to solve the issues in Safe Mode. If it works properly in this configuration, then one of your modules is the culprit.

  • In the Pages, when I quand je selectionne selects open for a list of my files, all I get is an abbreviated list of a few files.  That's happened?

    In the Pages, when I quand je selectionne selects open for a list of my files, I get nothing more than a brief list files, more than other things.  What happened and how do I get my list?

    When you choose open, it will open the finder and you will find your way to all the files.

  • XP Home Edition Accessories folder has been uninstalled by accident, how do I get that back without the cd.

    I have xp home edition, but the folderhas accessoriy uninstalled by accident, how can I get that back without the cd. I have dp does not have a partitioned hard drive, it has been deleted when cleaning a few months ago by a so-called professional

    If you mean that start > all programs no longer displays an entry for 'Accessories', then all that is removed is a set of shortcuts you can easily recreate (assuming that it is not in your basket).  The actual programs that are related to 'Accessories' are still there.

    To check, click Start > run, then type each of the following in the box run and then click OK

    Notepad.exe--> should start Notepad
    mspaint.exe--> should start painting
    cmd.exe--> should open a command prompt window

    Because the default ' accessories' menu includes submenus for accessibility, communication and entertainment, it's a bit tedious searching for all executables, create shortcuts and bring together them in a folder to display in the start menu.  I haven't used, but this utility says it does exactly what that (and this is from a trusted site): http://windowsxp.mvps.org/Accessories.htm

  • The clock in the taskbar has set both military, how can I get that back to the normal time display?

    Clock in the taskbar has set both military, how can I get that back to the normal time display?

    You make this kind of adjustments in the regional and Language Options applet.

    Click Start, settings, Control Panel, regional and Language Options.

    On the Regional Options tab, in the section Standards and formats, your language is selected.

    To the right of your selected language, click on the Customize button, the click the time tab.

    Change the Format of the time to your desires.

    Eastern Standard time: h:mm:ss:tt

    Military time would be: HH

    Click OK, OK to save the settings.

    You don't need to restart, but I would reboot in any case to ensure the changes 'stick '.

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    My taskbar is suddenly vertically on the right side of my screen instead of at the bottom. (default) Ive tried to bring it back to its original spot by clicking and now an empty space, but cannot get a reaction. How can I get that back to the default?

    Right-click on the taskbar and make sure the taskbar are not locked. Then move it using the left mouse button. Microsoft® Security MVP, 2004-2009

  • My toolbar was at the bottom and is not on the right side of the screen when I turned on the PC. How do come back on the bottom?

    How do you reposisition the toolbar background down

    Wednesday, June 13, 2012 19:45:28 + 0000, BJWoodham wrote:

    My tool bar downstairs was on the right side of the screen when I turned on the PC this morning. How do come back on the bottom?

    You say "toolbar." Do you mean the taskbar?

    Although by default, the taskbar is displayed on the bottom of the screen,
    It can be on any of the sides on what you prefer. To move any
    side to side, simply click an unused portion and drag
    where you want it. Don't forget to click inside it, not on the edge.
    by clicking on the edge and dragging will resize not move.

    If it does not move, it can be locked. In this case, right click on it
    and uncheck "Lock the taskbar", then try again.

    Moreover, with the screen monitors wide today, I prefer the taskbar
    on the left or the right of the screen. I think that allows a better
    use of real estate than have it at the bottom of screen.
    Ken Blake, Microsoft MVP

  • my fonts Office has suddenly changed to a larger font, how do I get this back to the original size?

    my fonts Office has suddenly changed to a larger font, how do I get this back to the original size? I tried to change it by right-clicking the mouse and personlized want and it did not work. I'm runnin Windows vista. Thank you, Martha

    Hi dude 11-2,.

    Follow the steps in this document to change the screen resolution.

    Let us know if that helps.

  • My Update Manager disappeared. How can I get that back in the menu bar. MAC.

    My Update Manager disappeared. How can I get that back in the menu bar. MAC.

    Hello

    Please click on Finder and go to Applications and search Adobe Creative Cloud and launch the application thereof.

    * You should restart your computer and launch the app from creative cloud.

    Let us know if that helps.

    Kind regards

    Bani

  • The mouse to stop that rises to the top of the page when I scroll to the bottom of the page

    How can I get my mouse to stop that rises to the top of the page when I'm scrolling down the page?

    my mouse

    Hello
     
    • What version of the Windows operating system do you use?
    • Do you use the computer laptop or desktop?
    • This happens to you while you browse Internet only?
     
    I suggest you run this fix and check.
    Open the hardware and devices Troubleshooter
  • How can I back up Outlook express when I e-mail saved with attachments, under a number of folders in Outlook express?

    How can I back up Outlook express when I e-mail saved with attachments, under a number of folders in Outlook express? See you soon

    original title: backup Outlook express

    ---------------------------
    The registry editor
    ---------------------------
    Are you sure you want to add the information in C:\OEQB26DEC2011\AllIdentities.reg to the registry?
    ---------------------------
    Yes No
    ---------------------------

    OEQB26DEC2011 is the name of the folder that OEQB saved on. Don't know what that means though?

     
     
    Everything gets backed up with OEQB including your address book.
     
    When you configure OEQB, you created the folder where the backup will be sent to? It seems that everything is OK. Here's some reading for you if it helps.
     
  • OfficeJet Pro 8500. orientation of the page when printing double-sided it is backwards.

    OfficeJet Pro 8500. orientation of the page when printing double-sided it is backwards. How to change so when doc is printed can be read like a book?

    I don't know where to find and change settings.

    can you please help?

    Thanks in advance

    Anna

    Anna

    There should be an option in layout to "Flip on long edge" or "return on the short edge.  Change this setting to change the orientation of the back page.

    If this does not resolve the problem that, please indicate what operting system you have and the number of exact model.

  • The line to the bottom of the page when copying using the doc feeder

    I have a jet of office pro 8500 lower thread which has just started to have a line all the way down the page when I use the doc feeder to copy. I don't have this line when I copy from the glass. There is no line when I print. I cleaned the glass and the doc feeder roller. Any answer how to stop this. Thanks for any help

    It is probably a small spot on the glass used in the ADF for scanning. See Figure 5 in this document, which is the surface of glass that must be cleaned.

  • How can I back up the files that that are on a mapped network drive?

    How can I back up the files that that are on a mapped network drive?  I can see the disks and the files that I want to backup in windows Explorer, but when I use the tool integrated with seven windows backup it does not list the mapped network drives backup options, it shows that local readers.  Thanks for your help.

    You probably have Windows 7 Home Premium - Microsoft has removed the ability to backup Windows 7 Home Premium network. You must have Pro/Ultimate to do a network backup or install a 3rd party backup program that can backup network.

Maybe you are looking for