Message in the OPS box

Hi all

I need to display the Message box (no not to throw an Exception) after clicking a Submit button.

I can't the steps to achieve the same.

For example:

1. the user will enter the user name and password

2 when the click on "connect" button, I need to display the Message box as "do you want to continue?

3. If he clicks Yes--an action

4. If he clicks on No - action

Thanks in advance,

Emilie

Hi Emily,.

Please find the code implementation of the dialog below. Please make the necessary adjustments according to your requirement.

            if (condtion) {

                OAException msg =
                    new OAException("Do you want to delete the record?");
                OADialogPage dialogPage =
                    new OADialogPage(OAException.WARNING, msg, null, "",
                                     "");
                String yes = "Yes";
                String no = "No";
                dialogPage.setOkButtonLabel(yes);
                dialogPage.setNoButtonLabel(no);
                dialogPage.setOkButtonToPost(true);
                dialogPage.setNoButtonToPost(true);
                dialogPage.setPostToCallingPage(true);
                dialogPage.setOkButtonItemName("UpdateYes");
                dialogPage.setNoButtonItemName("UpdateNo");
                java.util.Hashtable formParams = new java.util.Hashtable(1);
                dialogPage.setFormParameters(formParams);
                pageContext.redirectToDialogPage(dialogPage);

            }

Kind regards

Zahid

Tags: Oracle Applications

Similar Questions

  • Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?

    Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?  I have to click 'Cancel' twice in the order fdor the box go away.

    original title: DOWNLOAD the FILE you want to save this file?  Send error message

    Hi Harold Sokyrka,.

    1. When was the last time it was working fine?
    2. Did you the latest changes on the computer?
    3. Are you using any e-mail program or is it access webmail?

    If you use any e-mail program on your computer, then check and make sure that the default e-mail program is set correctly on the computer.

    How to change the default mail Client

    http://support.Microsoft.com/kb/555566

  • How to display warning messages in the OPS

    Hi all
    I have a page where in I have a poplist. When the user changes the value of that poplist I want to display a message window that the "the user must either save the modifications or changes will be ignored. And I want to have two buttons to save or cancel the changes.
    How to achieve this in the OPS as I read that popups are not supported in the OPS.
    And the Confirmation message boxes at the top of a page does not stop the users to perform further processing.

    Can someone please shed some light on it.
    Thanks in advance.

    Ginette

    You can join firePartialAction with poplist and make use of the dialog page. For an example of a page of dialog with two buttons you can see the example of Toolbox page remove tutorial.

    Thank you
    AJ

  • I want to search for messages, but the search box wants rather Google search!

    In Xubuntu 14.04 24.5.0 Thunderbird. Your help indicates that the research above the filter box will search for messages but mine happens only with a Google search on the web!

    When you type less than 3 characters in the search box, the option is to Google search. Less than 4 characters, the options are Google and the corresponding entries in the address book. Less than 5 and the options include "the Messages mentioning: asdf" and Google. For example, you must enter a string of at least 4 characters.

  • Two sent messages in the sent box

    Whenever I have someone send an email, there are two the same message in the Outbox. Why? I send only one, but I see two. Have attempted to drop Thunderbird, erased all the appdata, always the same. Tried just about everything... What have I done wrong?

    https://support.Mozilla.org/en-us/questions/1056919

  • How can I get the Outbox for sending messages to the sent box after I sent?

    recently, I was informed that my email has been sent more than once. Sometimes it was as much as 15 times. I found that the messages were kept in my Outbox and will not not in sent after filing box. I get an error message. How can this problem be solved?

    What is the error message and what email program are you using?
  • 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.

  • Windows XP tells me that my modem is not installed correctly, and it is the title of the dialog box: "Slcpappl?"

    Windows xp tells me that my modem is not installed properly.and is the title of the dialog box. Slcpappl? I have xp pro sp3 8.

    original title: anbody know what ' slcpappl ' alluded?

    Hello

    1 how long have you been faced with this problem?
    2 have you made changes on the computer before this problem?
    3. What is the exact message in the dialog box?

    Your question does contain all the required information necessary for us to help you. Please re - write your question, this time make sure you have all the information necessary and we will try to help.
    Suggestions for a question on the help forums
    http://support.Microsoft.com/kb/555375

  • LabVIEW 8: slider continues in the text box

    Hello

    I did a basic program of instant messaging with a text box that sends a message via a COM port. When I press on enter a 'Send' button is pressed and the string is sent, and then clear the text box. But to type another message, the user must click again to bring up a slider to type the message in the text box. I'd like the cursor to stay in the text box so that the user does not need to click on the text box to type something else. I would also like to do at the beginning of the program as well.

    Any suggestions?

    Thank you

    Siu a property node to define the true "Keyfocus".

    Ben

    (aka Fuzz Bear)

  • Unable to display the error message using the controller extension

    Hello

    I am trying to extend standard iproc CheckoutDistsCO. I have to display the error message when the quantity entered is '0 '. So I wrote logical when you click on the apply"" button. I created an extension CheckoutDistsCOEx & written logic here... but I am able to see messages in the log file, but no error message on screen.

    After having many forums I place super.processFormRequest (pageContext, webBean); at the end. It start always error message.

    Standard CheckoutDistsCO has a logic in the button apply. I think it is the substitution of the extension code... How can I fix? Pointers appreciated please

    package xxtr.oracle.apps.icx.por.req.webui;

    Import oracle.apps.fnd.framework.OAApplicationModule;

    Import oracle.apps.fnd.framework.OAException;

    Import oracle.apps.fnd.framework.OAFwkConstants;

    Import oracle.apps.fnd.framework.OARow;

    Import oracle.apps.fnd.framework.OAViewObject;

    Import oracle.apps.fnd.framework.webui.OAPageContext;

    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;

    Import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;

    Import oracle.apps.icx.por.req.webui.CheckoutDistsCO;

    Import oracle.jbo.domain.Number;

    java.lang.String import;

    public class CheckoutDistsCOEx

    extends from {CheckoutDistsCO}

    {} public processRequest Sub (pageContext OAPageContext, OAWebBean webBean)

    super.processRequest (pageContext, webBean);

    }

    {public processFormRequest (pageContext OAPageContext, OAWebBean webBean) Sub

    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    pageContext.writeDiagnostics (this, 'seized in PFR method", OAFwkConstants.STATEMENT);

    If (pageContext.getParameter ("Return")! = null) {}

    String applyevent = pageContext.getParameter (EVENT_PARAM);

    If (applyevent.equalsIgnoreCase ("return")) {}

    pageContext.writeDiagnostics (this, "clicked the Apply-back button" + applyevent, OAFwkConstants.STATEMENT ");

    OAException message = new OAException ("clicked on Apply-back put the message in the dialog box" + applyevent, OAException.INFORMATION);

    pageContext.putDialogMessage (message);

    OAViewObject poreqdistvo = (OAViewObject) am.findViewObject ("PoReqDistributionsVO");

    pageContext.writeDiagnostics (this, "display object = >" + poreqdistvo, OAFwkConstants.STATEMENT);

    OAAdvancedTableBean xxProjectDistsAdvTable = (OAAdvancedTableBean) webBean.findChildRecursive("ProjectDistsAdvTable");

    Line OARow = (OARow) poreqdistvo.getCurrentRow ();

    If (line! = null) {}

    pageContext.writeDiagnostics (this, "line Found"+ row, OAFwkConstants.STATEMENT);

    Number of xxtrqty = (Number) row.getAttribute ("ReqLineQuantity");

    pageContext.writeDiagnostics (Thi, "get attribute reqlinequantity" + xxtrqty, OAFwkConstants.STATEMENT);

    If (xxtrqty.intValue () == 0) {}

    pageContext.writeDiagnostics (this, "in comparing to 0 xxtrqty" + xxtrqty.intValue (), OAFwkConstants.STATEMENT);

    throw new OAException ("Enter valid amount", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("no line Found Else", OAException.ERROR);

    }

    }

    else {}

    throw new OAException ("not in"apply button", OAException.ERROR);

    }

    super.processFormRequest (pageContext, webBean);

    }

    }

    Thank you

    TR

    For example, when you comment on the super. PFR, you receive the error message on the right of the screen?

    Can you try this code and paste the debug log.

    public class CheckoutDistsCOEx extends CheckoutDistsCO {
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
        }
    
       public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
      //super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            pageContext.writeDiagnostics(this, " ----> Entered into PFR Method", OAFwkConstants.STATEMENT);
            String applyevent = pageContext.getParameter(EVENT_PARAM);
      pageContext.writeDiagnostics(this, " ----> applyevent: " + applyevent, OAFwkConstants.STATEMENT);
            if (applyevent.equalsIgnoreCase("return")){
      pageContext.writeDiagnostics(this, " ----> Inside If", OAFwkConstants.STATEMENT);
                OAViewObject poreqdistvo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
                OARow row = (OARow)poreqdistvo.getCurrentRow();
      pageContext.writeDiagnostics(this, " ----> row : "+ row, OAFwkConstants.STATEMENT);
                if (row != null) {
      Number xxgesqty = (Number)row.getAttribute("ReqLineQuantity");
      pageContext.writeDiagnostics(this, " ----> xxgesqty : "+ xxgesqty, OAFwkConstants.STATEMENT);
                    if (xxgesqty.intValue() == 0) {
      pageContext.writeDiagnostics(this, " ----> throwing errro : ", OAFwkConstants.STATEMENT);
      throw new OAException("Enter Valid Quantity ",OAException.ERROR);
      }
      }
                else {
      pageContext.writeDiagnostics(this, " ----> No Row Error", OAFwkConstants.STATEMENT);
      throw new OAException("No Row Found Else ",OAException.ERROR);
      }
      }
      pageContext.writeDiagnostics(this, " ----> Calling Super", OAFwkConstants.STATEMENT);
            super.processFormRequest(pageContext, webBean);
        }
    }
    

    See you soon

    AJ

  • A Message in a rectangular box "Messages Agent wants to use the 'Local products' kenchain. appearing on the screen and ask for Keychain password password.  This started after I changed the password of Apple resulting for the purchase of a new iPhone

    A Message in the box 1. "Message agent wants to use the 'Local products' kenchain. "is appearing on the screen and ask for Keychain password password.  This started after I changed the password of Apple resulting for the purchase of a new iPhone.

    My iPhone 5 has been damaged and the screen was not visible.  As a result, I couldn't open the iPhone.  I bought 5 s iPhone and when I got to connect with the iCloud

    I remember the answers to security questions.   The seller must change the password and enter new answers to security questions, I did.  This happened in Bangalore.  When I'm home in Ernakulam, Kochi (India), where I has the Air of Mac, Ipad and my wife had another iPhone and laptop computer Dell, these problems began to come up on the screen and blocks the screen.

    Four Messages are appearing: the first is on the top.

    Other messages are:

    2. ' cloudd wants to use the kenchain 'local products '. '

    appearing on the screen and ask for Keychain password password.

    3. ' com.apple.iCloudHelper.xpc wants to use the kenchain 'local products '. appearing on the screen and ask for Keychain password password.

    4. ' cloudpaired wants to use the kenchain 'local products '. ' is appearing on the screen and ask for Keychain password password.

    It of an upheaval and please suggest how to solve this problem

    Hello remy!

    I see that you are either prompted by iCloud Keychain with various alert messages.  I know it's important to have iCloud Keychain works correctly and I am pleased to offer you an article that should help you.  Please follow the instructions in the following support article:

    If your Mac keeps asking for the password in the keychain

    Thank you for using communities of Apple Support.

    See you soon!

  • I believe that Mozilla Thunderbird is slow while sending a message by copying to the sent box. I have multiple accounts, so implementation of tiles help!

    I feel as many times is slow to send the message in Mozilla Thunderbird. Where, as in my Android phone, I could send a message very fast.

    One thing is implementation on the tiles on the homescreen allows to scroll too many accounts. The interface is too basic. Sorry if am not mistaken.

    Thunderbird sends slow by most standards, leaving the sending dialog box until he receives a message from the server that it contains the message, and send. Most programs send background and Thunderbird can do so, but reporting of errors in transmission is eager. You can activate the sending in the background by setting mailnews.sendInBackground to true in the configuration editor and sending of Thunderbird will be much faster. But you might want to watch the dependent bugs on this bug. before you "do" to make sure that you can live with the consequences. Most users will not have a problem.

  • I got a box on the browser top who wrote, you a message. The problem is that it keeps repeating that you a message. I don't want to hear it.

    I got a box on the browser top who wrote, you a message. The problem is that it keeps repeating that you a message. I don't want to hear it.

    It is a unsolicited announced to 'make' an I phone. I'm very tired of winning all that junk. I have certainly not ads want to talk to me now.

    You can do a check of malware with several digitization programs of malicious software on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • My Inbox messages disappeared? other boxes ok but none left in the Inbox?

    My Inbox messages disappeared? other boxes (sent) okay, but none left in the Inbox?

    Here's what our service provider (Videotron) made me do: on our system of Microsoft Outlook - under Tools/accounts/mail/Properties/Advanced - ticked the box - keep copies of messages on the server - and also on - remove the server after deleting "deleted items". He was told that the messages would remain on their server to 365 days. If we want to keep moving some emails to a folder on our computer. As we did we have any problems with our e-mail systems... I hope this helps. Thank you.

  • I'm using Outlook Express and from time to time, the box "leave a copy of messages on the server" becomes disabled automatically.

    Hi, Im using Outlook Express and from time to time, box "leave a copy of messages on the server" becomes disabled automatically.

    Ive checked the Task Manager, its not running after close Outlook.

    Appreciate your comments.

    This can be dependent on ISP or it could just be OE spoil.  I saw this happen at any time.  You can try to backup the message store, and then delete the mail account completely (you will not lose messages).  The file to run. Folder | All compact.  Then close and reopen OE and then add the account back again.  See if things stick after that.

    Steve

Maybe you are looking for