Dialog box message

Dear members,

I have an OFA Page where the user will make a data entry.

After completing the data entry user will click the button Save. When he clicks on save button I want to back up all data, he entered and display a dialog box message that data has been backed up and redirect the current page to another page.

Please please let me know how to achieve this.

Thanks in advance.

Best regards
Arun D. Reddy

Arun,

Use the code for your needs below.

if(pageContext.getParameter(DELETE_BUTTON) !=null)
{
writeLog(pageContext,"DELETE_BUTTON BN Pressed "); 

OAException mainMessage = new OAException("XXHR", "XXHR_SAL_LOAN_REQUEST_DELETE");//, null);
OADialogPage dialogPage = new OADialogPage(OAException.WARNING,mainMessage,null,"","");

String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);

dialogPage.setOkButtonItemName("DeleteYesButton");

dialogPage.setOkButtonToPost(true);
dialogPage.setNoButtonToPost(true);

dialogPage.setPostToCallingPage(true);

// Now set our Yes/No labels instead of the default OK/Cancel.
dialogPage.setOkButtonLabel(yes);
dialogPage.setNoButtonLabel(no);

java.util.Hashtable formParams = new java.util.Hashtable(2);
formParams.put(PRESSED_BUTTON,DELETE_BUTTON);
formParams.put(TRIP_REQ_ID,tripRequestId);
dialogPage.setFormParameters(formParams);
pageContext.redirectToDialogPage(dialogPage);

}else if(pageContext.getParameter("DeleteYesButton")!=null)
{//delete the record
}

Kind regards
GYAN

Tags: Oracle Applications

Similar Questions

  • Constantly receipt dialog box message "Windows - No disk" Exception Processing Message c0000013 parameters 75b6f7c 75b6bf7c 75b6bf7c; with the options to CANCEL, TRY AGAIN, or CONTINUOUS.

    Constantly receipt dialog box message "Windows - No disk" Exception Processing Message c0000013 parameters 75b6f7c 75b6bf7c 75b6bf7c; with the options to CANCEL, TRY AGAIN, or CONTINUOUS. By selecting CANCEL or CONTINIUE four times to close the box, but in a short time box reappears.

    I refer you here:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-system/win-XP-Pro-Windows-nodisk-error-just-agravating/5e0de54b-D921-4897-BEBC-c882e19a76c0?page=1&TM=1307282043410

    You can expect ad try some things.

    You can actually ask why forums MS Answers just can not help with XP problems?

  • Weird shared Variable dialog box message

    I came across a strange in the dialog box behavior, while I created a new shared variable.

    That I was typing in the name, I kept see a warning will appear in the dialog box.  It would come and go as typed.  I realized that whenever I typed a space, and it is thus temporarily the last letter in the name SV, the warning popped up.  Type the next letter, the warning would leave.  You can see the space ending the name right before the cursor in the top image and name that ends with a normal character in the background image.

    Now, it is logical to me that ends a name shared with a space variable would be a bad practice and should be warned against.  But the warning never actually says that you cannot end with a space.  To be more precise, it says that you can not the slash code \s in the name of the variable.  Now I'm not really in the slash codes, but I'm in the spaces.  And they seem to work in variable name, just not if it is the last character very well.

    It just seems to be a disconnect between what says the warning, and what you can and can't do.

    Can you have spaces in the name SV?  From my experience, you can.

    In addition, in its LV 8.6 on a machine XP SP3.

    Thank you.  Please post the CAR ID # to the thread once you have it, then I'll put a link on the bug thread.

    Just to clarify, I see basically three questions.

    1. the error message is incorrect because spaces are allowed in the shared name of the variable, but the unclearly error that says they aren't.

    2. the spaces at the beginning or at the end of the shared variable, in my view, should not be allowed, but Ben could have an instance where he "backdoored" one in there.

    3. nuisance of user interface.  If spaces are not allowed at the end of the OAS, there is no need of an error message flashing on the screen that appears whenever you finish a word followed by a space before the next word begins.  The error message should really popup only once you click OK to save the variable.

  • Missing actor of dialog box Message Maker

    In Labview 2015 should be an actor framework Message Maker dialog box.

    "I create a new project from actor Framwork model, but can not find in the Tools menu" actor framework Message Maker.

    In the context menu of the Task.vi in Alpha.lvclass I have actor framework"create Message.

    So I can create a new message class.

    "But why is-tools ' actor framework Message Maker missing?

    The creator of the Message has been deprecated. The "framework for actor" with the right-click menu in the window project in 2015 of LabVIEW and later should provide all the functionality previously provided by the message author.

    I thought that we removed the help topic, I don't know why she is always displayed in the LabVIEW 2015 online help. I filed the CAR 565761 for the updated documentation.

  • Can I customize the dialog box message

    Hello

    I wnt to change the message dialog in catalyst for business as BC default Message is

    "ERROR: Please select the relevant options before adding to cart.

    But I want to

    "Please select the size.

    anyone has an idea please tell me

    Thank you

    You can try this http://forums.adobe.com/docs/DOC-1808article. Please note that support does not support JS workarounds.

  • Fontstyle warning message dialog box problem

    Hi all

    I have something interesting to get the solution on your part.

    When settings changed, automatically third peripheral font style (any) application (s) font for the message (message) Dialog.alert style also get change. Intentionally, I want that my style of application policy should remain same regardless of changes in the settings of the device. To do this, I used Family.forName ("bbalpha sΘrif"), to stay the same text in my application. But I can't seem to use the same for alert default dialog box messages.

    Can someone give me an idea please.

    Hello

    As pradeep said, in your situation, you must use dialogClosedListener().

    Means that you can write your code by pushing to the next screen

    For example like this:

    Dialogue _dialog = new (message, choices, values, defaultChoice, bitmap) dialog box;

    _dialog. SetFont (policy);

    _dialog.setDialogClosedListener (new DialogClosedListener()
    {
    ' Public Sub dialogClosed (dialog, int choice dialog box)
    {
    If (choice is Dialog.D_OK)
    {

    UiApplication.getUiApplication () .push (new NextScreen());

    }

    }

    }

    _dialog. Show();

    Kind regards

    Lakshman K

  • I try to print, get the error message "Please enable setting"Enable bidirectional communication"in the printer properties dialog box.

    When I tried to print I got the message (please turn on the setting "enable bidirectional Communication" in the printer properties dialog box ") but I need to know how to do this.

    On the start menu, menu on the side right should be a button devices and printers, which will bring you to the page printers. There you can find your printer and right click on it and select Properties. This would be the place to enable two-way communication, but beyond that, I can't help you as I don't know what would the Properties window for your printer.

  • In remote desktop, when I run Lotus Smartsuite, the dialog boxes are empty when there should be messages!

    My CRM is created through Lotus Smartsuite approach and it is sitting on a server. Access us this server via remote desktop.

    When you access via Windows XP and older, you can consider all messages dialog box. However, when you access it through Windows 7, all messages to the dialog box disappear.

    Can someone shed light on this and suggest the remedy?

    See: http://playbyear.com.my/docs/StatusBlank.PNG

    Thank you.

    Alex

    Hello

    The question you have posted is related to CRM and would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the support you want.
    http://social.Microsoft.com/forums/en/CRM/threads

    I hope this helps.

  • I have DC Acrobat and run it on Windows 7.  I have a Brother printer.  I downloaded the new drivers last night, but the same problem occurs: when I try to print, I get a message in a dialog box, "the cocument could is allowed.  When I click on

    I have DC Acrobat and run it on Windows 7.  I have a Brother printer.  I downloaded the new drivers last night, but the same problem occurs: when I try to print, I get a message in a dialog box, "the cocument could is allowed.  When I click on out of the box with this message, I get a different dialog box including the message says "it has not chosen to print pages".  Any suggestion would be appreciated.

    The way I got it to print has been:

    Without opening the program, in the list of applications, move on to Adobe Reader and right click, select Properties.

    Go to the compatibility and click 'run as Admin '.  Reopen the application and all prints for me now.

    (This can only work with your personal computer if?)

  • Message box in function that returns a list deletes the created list... (Dialog box)

    Hello

    I work with a complex dialogue, its purpose is to manage a section in the PDF file.

    I use a "mclv" object in the dialog box to represent data entries in the PDF file in order to manage the result in another section.

    I created a function that creates the list based on a previous section in the PDF object, the function works perfectly well.

    But I have a small question, the function used to create the list of the dialog box object performs a check with the former front list created, as appropriate,

    and if in any case it is different from the old list, I need to warn the user that the list has changed and if there were any changes applied to the result it will be returned to zero and must be recreated.

    But when the poping that message box, all lists are deleted and nothing is displayed in the objects 'mclv.

    If I remove the message box, the lists are all very well...

    Is there anyone who have come across something like this before? If so, any solution to this problem?

    I asked my question a bit too quickly, I already found a work around

    But I still don't understand why he behaves like that tho...

    I just thought how to work around this problem.

    If anyone has encountered this problem can use this solution:

    Instead of having the message inside the function to return box, I declared a global Boolean variable to the Script object

    If the message box must be displayed, the Boolean value is set to True

    Once in the initialize event of the dialog box, if the value Boolean true I call the message box and reset the value Boolean false

  • Close the Popup by clicking on the OK button on the dialog box information Message

    JDev ADF BC 11.1.1.5.0

    I have a popup and a dialog box on the inside where the user enters data and click Save.
    I show an Information message when the click on save on having managed the insertion of data in the database.
    What I want to achieve, it's that I want to close the popup window with the click on the OK button located in the information message dialog box which has proved on memorizing data.
    There is already a similar thread Close popup in adf , but that was not a correct answer.

    (1) linking the main popup to a bean variable:

    
    
    public class MyBean
    {
      private RichPopup myPopup;
      ...
    }
    

    (2) add a DialogListener to the of the informational message:

    
      
        ... Info message here ...
      
    
    

    (3) use this DialogListener to close the main popup programmatically:

      public void infoPopupDialogListener(DialogEvent dialogEvent) {
        myPopup.hide();
    }
    

    Dimitar

  • HELP PLEASE! My operating system is xp, SP3. I have a half finished email to complete & send, but I can't re - open my Outlook. I get a message that a "DIALOG" box is open & must first be closed and "BEEP"

    Please see title above.  This computer is really crazy.   Unable to open my Outlook.  Said dialog boxes open and must be closed before I open Outlook, but I can not find something open.  I even tried restarting the comptr.  PLEASE HELP ASAP!  Thank you.

    Rich

    This dialog box means there is an open window (somewhere maybe under your enlarged window) which must be closed before you can reopen outlook.

    If there is no visible window I open the Task Manager and check there.  If there is not, you may lose any changes and restart to clear the error.

  • Dialog boxes and message disappear in the framework programmes

    I use Windows 7 Professional 64-bit. For some reason, the dialog boxes that I invoke only stay on top for a few seconds. They disappear then in the programs, and if I have several programs open, I end up having minimize allow them to access the dialog box. This must be controlled by a few settings, but I can't find and the help of files were not useful.

    Any help is appreciated.

    Ken

    Hey, splashing,

    I think that if I were you, the first thing I would try is remove my graphics driver and install the latest version of the manufacturer.  Especially since it has the behavior you describe here.
    However, until you do this, just check to ensure that you do not have a second monitor enabled - perhaps dialog box shows off the screen.  Right-click on your desktop, choose the resolution, then make sure that there is no set additional monitors.
  • Save file dialog box can't name.

    Hello!

    I've updated 5 macs in my household to Mac OS Sierra. Mac Mini, two retina Macbook and iMac 5K. None of them are able to pick up existing file name when you try to save a file. I used to be able to click on a file on my disk and it entered the name of the file in the Save dialog box, but the entry in the right field remains empty and I have to write the name of the file manually. Really frustrating when just in collaboration with revisions and you want to change the last number in the file name.

    Anyone else experienced this and maybe have a fix?

    Thanks in advance.

    Tom

    Your message has caused me to try this using two different applications (Apple Pages) and overview of the MacOS.  In both cases, when I open an existing file, his name came up in the center of the window.  Also, when I did a "Save" or "Save...". "this file name was introduced as the default name. in other words, a backup would just replace the existing file.

    The behavior you describe is clearly based on what application you are using.  You did not specify which application could be.

  • When to change a start page preferably, a dialog box pops up and won't go away, even after clicked and restart FF. Please help ASAP

    This dialog box indicates "an attempt to change your home page and default search has been blocked" & "click to change these settings. After clicking on the "close button {X}", won't let the box of my screen, where it blocks ANY activity. Which means that, not only the dialog box covers aloud to the left of my screen (on my Mac, blocking access to all of the choices of window button).

    Literally blocks the activity of the screen all THE more of a 3 "-4" AUTOUR / greater than the size of real dialog box. " Move windows just so I can access the window buttons, although clear of ' under / covered by "dialog, the buttons still do not accept that is clicked, to inch away from the box. Even if it seems to be completely cleared and outside the box.

    When I go to another application, like the finder or to a full-screen video game, your still dialog box, any blockage 'slot' and 'around '. It will not disappear, even after that I went to my preferences and original re - has chosen settings of no.

    PLEASE HELP AS SOON AS POSSIBLE BECAUSE IT IS VERY ANNOYING SCREWING WITH MY WORKFLOW - SEE PHOTO! Unfortunately, your browser will not upload a screenshot of 49K of this anomaly.

    Moreover, to load the image, you can meet your own message and attach the image to the response. Please change or blur sensitive information in the file before uploading the image.

Maybe you are looking for

  • How to import Photos album of iMovie.

    I used to be able to import a photo album in iMovie. I would like to edit my pictures, put in order in an album and then imported into iMovie. It was working fine! He kept the order too. Something has changed with the how they upgraded to the Photos

  • Spotlight, failing repeatedly in iOS 9.2

    This bug makes me batty. Spotlight guard failed for me in iOS 9.2. I enter a search term and nothing back. If I do the things that rebuild the index [1], she works for a while, but it then stops again. Turning off the Contacts can operate, but cannot

  • Need to downgrade! ???

    I bought a used laptop Compac Presario computer which has Windows Vista Business 32 Bit on what I can't authenticate. He came originally from the manufacturer with Windows visit 32-bit Basic. How to the screen that has the recovery options back to th

  • RVL200 and Windows 2000 Server - can not access network resources via VPN

    I am new to the VPN, and I feel I'm missing something very basic in my configuration. I just installed a RVL200 as the gateway for my corporate network router.  The network includes a Windows 2000 Server that acts as server DHCP and several PC and a

  • The error of data passed to a system call is too small - Vista

    Hello I was installing a new printer Zebra. He ended that the pilot needed to be updated and when I try to do it I get "the data area passed to a system call is too small". The printer driver is by UPS to their Worldship, but the tech tell me that th