Confirmation message is displayed when you click on the button

We need display a confirmation message when you click a button to notify the user the changes are successful, allow the user to click on 'ok', and then on the home page. The current function uses .setForwardURL to redirect the page to the "Main" page after clicking on a button.

Here is the code of the application currently being used by the controller

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);

OAApplicationModule contactam = (webBean) pageContext.getApplicationModule;

If (pageContext.getParameter ("saveContact")! = null)
{

contactam.invokeMethod ("saveContact");

() pageContext.setForwardURL
'OA.jsp?page=/csxxx/oracle/apps/ak/contact/webui/ContactMainPG '.
null
OAWebBeanConstants.KEEP_MENU_CONTEXT
null
null
true
OAWebBeanConstants.ADD_BREAD_CRUMB_NO
OAWebBeanConstants.IGNORE_MESSAGES);

}

Hello

You can display the message after contactam.invokeMethod ("saveContact") as shown below:

If (pageContext.getParameter ("saveContact")! = null)
{
contactam.invokeMethod ("saveContact");
throw new OAException ("Data has been saved.", OAException.CONFIRMATION);
}

Sushant-

Tags: Oracle Applications

Similar Questions

  • No results displayed when you click on the following link in the table of the OFA

    Hi all

    We created a table OAF in the new Page of the OFA.
    It works very well. But he has a problem.
    If the records are more than 10 then the following link is displayed automatically.
    And when you click on the link next to the table of the OFA, no record displayed.
    It is very urgent. Any help will be much appreciated.

    Thank you

    1. you don't need to identify the event click on 'next', because you don't need to do any action on this.

    2. you call the AM method to run the query on the events of "SearchGoButton" and "SearchClearButton".
    Here's the code you need to write:

    If ("SearchGoButton".equals (s))
    {
    pPersonId = temp.toString ();
    Aserializable serializable [] = {pPersonId};

    Class aclass [] = {String.class};

    pageContext.getApplicationModule (webBean) .invokeMethod ("ExecuteDailyAttendanceVO", aserializable, aclass);
    }
    ElseIf ("SearchClearButton".equals (s))
    {
    pPersonId = "-1";
    Aserializable serializable [] = {pPersonId};

    Class aclass [] = {String.class};

    pageContext.getApplicationModule (webBean) .invokeMethod ("ExecuteDailyAttendanceVO", aserializable, aclass);
    }

    -Prince
    [email protected]
    http://princekapoor82.blogspot.com

  • How to do an audit in the order page IN. When you click on the button "submit"

    I want to do an audit in order IN. When you click on the "submit" button, it will be checked whether the OP is reserved and will display the message if not.

    I have a CO span from the original, I can know where should I put the logic inside the processFormRequest? and how to write code to control them thanks.

    public void processFormRequest (pageContext, OAPageContext,

    OAWebBean oAWebBean)

    {

    super.processFormRequest (pageContext, oAWebBean);

    }

    OK here is the code below,

    String sql = "START: 1: = XXPO_CHECK_RESERVED_PKG." XXPO_CHECK_RESERVATION(:2); END; « ;

    CallableStatement cs = txn.createCallableStatement (sql, 1);

    String outputval = null;

    try {}

    cs.setString (2, Segment1);

    cs.registerOutParameter (1, OracleTypes.VARCHAR);

    CS. Execute();

    outputval = cs.getString (1);

    TXN.Commit ();

    } catch (Exception sqle) {throw new OAException ("Error in the application of staffing", OAException.ERROR) ;}}

    -Beginning of the code by Hemant

    If ("N".equals (outputval) &! ") ». Equals (outputval))

    {

    throw new OAException ("The PO isn't in reserved State");

    }

  • How to create a form that is displayed when you click on a button?

    I want to create a contact form on my Web site that appears when you click the button 'click here to contact us' floating on the web page. I can't figure out how to make this work. Any help would be appreciated!

    You can really use any widgets of composition. You probably want to use the Widget for Composition of ToolTip and the setting of the trigger button and form as target.

  • New inputext when you click on the button

    Hi all

    I have a table with three fields: ID (pk) and ParameterName, ParameterValue.

    In my web form: I do a button, when the user click on the button New Row-> new inputtext two show, they are ParameterName and ParameterValue.

    After user entered value for two inputtext-> click Save to insert it into the db table.

    Example of a web form like this:

    ParameterName: < administrator > ParameterValue: [email protected] >

    ParameterName: < member > ParameterValue: [email protected] >

    But on my web form must maintain the new value of line in there to inputtext.

    Thank you

    Take a look at af:forEach and af:iterator

    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_forEach.html

    Oracle ADF - tips and Techniques: ADF UI - easy implementation of editable forms using the & lt; AF:iterator & gt;

  • Cannot open in a page Web, on the page of the Bank opens a new tab and indicates that the site has moved here, but when you click on the button here it still does nothing

    When I go to internet banking as a clydesdale, it opens a new page to connect, but a few days ago it stopped working with the new update. Now when I click on connect, it says "FOUND the document pushed here." and clicking here opens another page of connection, but after being entered the details the page doesn't load. the same thing happens on other sites, on the other, when I click to read the messages page does nothing, and if I click to open in a new tab the same page is displayed instead.

    GundamGirl said

    Theres been other people having this problem too...

    Yes, for example, that this person- https://support.mozilla.org/questions/1078226 -, but they did not post cost around if any suggestion made a difference, I appreciate your following upward.

    Here are two other things to check:

    (1) connection settings - have they been customized?

    "3-bar" menu button (or tools) > Options > advanced

    Click the mini network, and then click the settings button

    The default value of 'Use system proxy settings' should follow your 'LAN' setting, as well as IE, but you can also try 'No proxy' to see if that makes a difference.

    (2) extensions - test Firefox to turn off Safe Mode

    Firefox Safe mode is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    Any improvement?

  • When you click on the button / target Url, how say the program take URL as a value in a field on the page

    I have a page with a button and an entry (MIOCAMPO) field that contains a URL. Is possible, in the properties of the button, in the section "when button Clicked/Url target", ask directly the program, take the value stored in my field? For example, for the static value http://www.oracle.com I directly write this address in the "Url target", but, when this address is written in my MIOCAMPO area, ca how? I tried these bad manners:

    (1) MIOCAMPO

    (2): MIOCAMPO

    3) || MIOCAMPO

    (4) & MIOCAMPO

    I have the button send the page and you can specify MIOCAMPO, use a branch "branch of Page identified by post. This should work for you, that destinations are in the same application.  There is also a "branch to URL identified by the element.  You could even two handsets using conditions.

    Hope this helps

    Thank you

    -Jorge

  • Newbie question-hide/show content of layers when you click on the button

    HI guys, I have very limited knowledge of Flash and Action script 2, but I would like to solve this problem.

    I have an animation that shows the items highlighted in a diagram. As the elements are highlighted, the audio will play (to explain the animation). because we create for people with disabilities as possible, we have also created captions with text to audio. Thus, in separate layers, we created bubbles and text that is synchronized with the actions of animation on the screen. It is also synchronized with the audio.  We want to have a button (button close captioning) when users embed it, they see the text captions and if they push it again, they do not see the text captions.

    my questions are

    (1) what is the best way to create the effect I'm looking for?

    (2) will what order actionscript take for the button actions?

    Thank you

    That's the problem.  When click you on your button the first time, you have set the onRelease Manager.  then he works with the following clicks.

    to remedy this, use the code exactly as I gave it BUT attach it to the frame of the timeline that contains your key for the button itself.

  • Cannot open google automatically when you click on the button new tab since the last update of Firefox.

    I was able to do so until the last update... I spent through the process several times since, but without success... including adding the complete URL, etc.. The only suggestion so far is that 1 of my modules could be the cause, but I have still the same as before (they are edge Adblock, S3. Google Translator and yet another Smooth Scrolling)... it's frustrating!... and I'd love some help please... Thank you.

    Hi, for reasons of security, 41 of Firefox, you must use an add-on like tab override (browser.newtab.url replacement), to make changes to the page tab.

    Once installed, open the Add-ons (Ctrl + Shift + A) Manager > Extensions, and then look for the new tab override and click Options to set your preference.

    Note, if you want only the new tab to be the same as your home page, you can use the Add on new tab homepage instead.

    You will then need to restart Firefox for all changes to take effect.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • Why, after the publication of my site, I see blank pages when you click on the button back on my browser?

    This is the Web site www.vuzetasrl.com
    Sometimes on my mac and even in my mobile.

    PS It is actually happening to the client and to everyone except me. I can go back even on my phone and I have a samsung. Tried on my iphone of bf and he doesn't either.

    Happened to someone?

    I can reproduce the problem, but only with safari on Mac, put it works in browsers.

    To isolate the problem, can you please post the site in British Colombia as a trial site.

    Thank you

    Sanjit

  • Play random symbols when you click on the button

    First of all, I apologize for not be able to use answers that have already been presented in response to questions similar to this, but none of the positions I have pored over seem to cover what I'm after (unless it's a matter of my failure understand the concept... which may well be the case! Haha!)

    Anyway, I have a dozen of symbols animated on stage and I would like a chance to play each time users click on a button.

    Advice, or guidance to any Tuts out there, are very welcome.

    Cheers in advance

    Frannie x

    Here's something a little more concise that can help or otherwise be of interest:

    var childSymbols = sym.getChildSymbols ();

    var r = Math.floor ((Math.random () * 4));

    childSymbols [r] .play ();

    Add this code to your click handler. Only minor changes are needed if the instances of the button and the symbol are not at the same level of symbol.

    HTH,

    Joe

  • How can I fix mf_status.exe error messages when you click on the button stop?

    • The exact error message:

    The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be read.

    Click on OK to terminate the program.

    • Operating system Version &:

    Windows 7 Home Premium

    Service Pack 1

    System manufacturer: TOSHIBA

    Model: Notebook

    Note: 4.1 Windows Experience Index

    Processor: AMD Athlon (TM) II Dual-Core Processor 2.10 GHz

    Installed memory (RAM): 4.00 GB (usable 3.74)

    System type: 64-bit Operating System

    Pen and touch: no pen or press enter is available for this view

    • Version of the browser &

    Internet Explore 10

    Version: 10.0.9200.16540

    • No software or hardware that I recently installed or deleted

              MediaFire Express BETA for Windows

    Version: 0.15.4.4888

    • Any recent changes I made to the system

    I accidentally click the disk wiper in CCleaner. Does this affect my system?

    • The things that you have already tried to solve the problem

    http://www.pcmaxutilities.com/wikidllfiles/mfstatus-exe-error-fix-Guide.html

    I also downloaded: MFStatus.exe files repair tool

    Any help will be much appreciated. Thank you! :-)

    Hey Ken, COLIENNE,.
    Let me to interfere here because I met the same problem, and I followed method 1 suggested by jojo.
    And the problem comes from MediaFire Express, even if it is not in beta for me.
    Windows Vista SP2.
    Hope I helped a bit...
    Sincerely,
    Bertrand

  • CP9: Text entry box: Lost Focus displayed when you click Submit

    Hello

    I seem to have problems with my text entry areas (TEBs).

    Sometimes, these problems do not appear all the time.

    Later a being that when I click on the button the Focus Lost text caption is displayed.

    I came across the question when you work on a project, so I decided to 3 slides project to test.

    1 BER on the screen.

    • Success goes to the next slide.
    • Failure displays caption built-in failure.
    • Focus Lost shows a text caption.

    Slides mask lost Focus of text caption at the entrance.

    No advanced actions.

    Timeline shows just TEB and lost legend for Focus text.

    CP9 TEB Focus Lost.jpg

    CP9, project that is unresponsive (a new project - only 3 slides), project preview & Preview in the browser. have not yet published.

    I deleted the slide and added a new slide.

    I deleted the cache and reset the preferences.

    Concerning

    Donal.

    The way you described the configuration and screenshots, it seems to be behaving exactly as it should.

    I was expecting to see THE text caption every time that you click the submit button.

    Should the lost Focus event fires when the cursor was placed in field ETB and then you move outside this field and click on anything, which of course would include by clicking on the button submit of the BER itself.

    So far I don't see any bug or issue here.  Can you describe what you think that SHOULD be the case?

  • When you visit a particular site my user name is entered automatically when you click in the required area. I want to avoid this, how?

    This site requires a username to be filled in a specific area and in another box, you enter a series of numbers generated by a generator of numbers (so not a password - different series each time that you open a session).
    However I do not want my user name appears automatically in the first box. Trying to change that in the security settings (extra-options-security), there is a password section where you can choose any exceptions to the rule of the memory (if the box remember is marked). When clicking the exceptions button, the url of the site I'm talking about is not displayed, and it cannot be entered either, since you can't delete here.
    When you click on the option "saved passwords", nor the site, nor the username is listed. I think I've read all the help sections regarding usernames and passwords, but found no solution.
    How can I avoid this username (so only a user name - not the usename/password combination), appear in the box?

    Click on the box, hover over the drop-down menu with your mouse, if you select the word you want to delete, and then press the delete key. If Firefox fills automatically in forms of control

  • When you click on the 'Info' to the background action bar button, the application crashes.

    Hello

    Recently, we have brought successfully a BlackBerry 10 Android app.

    Everything worked fine, except the thing that when you click on the "Info" button in the action bar that appears at the bottom of the screen - the application crashes.

    I guess that this button should display a connection, or the help page. In our application, we have such a page (like an ActionItem in the ActionBar).

    Yes, is there a way we can fix it, so that when clicking on "Info" button to view our about page? Or at least to do something to prevent the application from crashing, for example hide this button.

    PS: We tested the app in the simulator of Alpha BB 10 Dev.

    Thank you.

    Hello

    Thank you for your comments. In fact, it is a known problem in the current Runtime Android on the Simulator release BlackBerry 10. It has nothing to do with your application, as this action bar fits into the Runtime Android and not your application. Normally when you section the 'Info' button you will see a screen showing you must use the gesture of back scanning used in applications Android Runtime. If you want your own topic button, you need to create your own menu.

    See you soon,.

    Matt

Maybe you are looking for