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

Tags: Oracle Applications

Similar Questions

  • My phone displays an error message on the startup file and it mentions the installation media, how can I solve this problem?

    Separated from this thread.

    My phone displays an error message on the startup file and it mentions the installation media, how can I solve this problem?

    Hello

    See if that helps you.

    Do a Safe Mode system restore to before the problem started.

    http://bertk.MVPs.org/html/restoresysv.html

    How to access Safe Mode

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If it doesn't, try a startup repair and / or a system restore using a DVD of Vista from Microsoft

    Manufacturers recovery disks normally do not have Service Options; they are normally a relocation to the factory only settings option.

    Here is the guide to repair Options using a Vista DVD from Microsoft.

    If a friend or a work acquantance of yours has one, you can borrow and use it for repairs.

    http://www.bleepingcomputer.com/tutorials/repair-Windows-with-Windows-Startup-Repair/

    Table of contents

    1. Overview of Windows Vista repair options
    2. How to perform an automatic repair of Windows Vista using Startup Repair
    3. Advanced Tools Overview
    4. Conclusion

    If you do not or can not borrow a Microsoft DVD there is a download of a file ISO of Vista Startup Repair available that you can put on a Bootable floppy to make the above startup repair and that the method is recommended by a large number of posters in these Forums.

    Unfortunately, you have to buy it.

    Here is a link to it:

    http://NeoSmart.net/blog/2011/Windows-Recovery-discs-updated-reinstated/

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    There are several methods to reinstall Vista.

    This can help you (download files and make your own DVDs):

    http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links

    And here are instructions on how to burn ISO disk images:

    http://www.SnapFiles.com/get/isorecorder.html

    The download links and information on how to make the ISO file, and then create the Setup DVD above are at this link:

    "How to download a Vista ISO and create a Setup DVD or USB"

    http://www.Vistax64.com/tutorials/301852-Vista-ISO-download-create-installation-DVD-USB.html

    "How to create a USB of Vista Installation key '

    http://www.Vistax64.com/tutorials/181538-USB-bootable-Vista-installation-Flash-thumb-drive.html

    ___________________________________

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

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

    ___________________________________

    And if you have never received a recovery disk when you bought your computer, there should be a recovery on the drive Partition hard reinstall Windows how much you bought your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Them or us ask the right sequence of key.

    ___________________________________

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • How can I display an error message on the listening port close popup without closing the popup.

    Hi Experts,

    JDeveloper 12.1.3.0.0

    How can I display an error message on the listening port close popup without closing the popup.

    Thank you

    Roy

    As its name suggests, close listener of popup is called when popup is closed so you can not do this.

    If you want to display the popup message, use your own buttons instead of the ok/cancel default buttons and close the popup programmatically.

    Dario

  • Unable to display the results of a detailed report or the results of a questionnaire which is inbedded in the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose '

    Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose 'other LMS standard.  Any ideas on why I see the results?

    Publish your SCORM SCORM Cloud and test if it will show you the results you want.  If so, then your problem is with your LMS.  If this is not your problem may be due to something in the settings of your current project.  Eliminate one thing at a time.

  • Unable to display the remote folder: the remote folder F:/wamp/www / "MYWEBSITENAME" / is not accessible or does not exist.

    In CS4, all of a sudden, I get the error "unable to display the remote folder: the remote folder F:/wamp/www /"MYWEBSITENAME"/ is not accessible or does not exist.»

    I'm in Manage Sites and test the file in the remote folder and it says "Dreamweaver connected to your web service successfully.

    I have not changed anything.  I had this once before a few years ago and just copied on the site of a new name and that fixed it, but it does not for the moment.

    Help.   Any ideas?  Thank you

    When you click the expand button in your files window, whose icon is selected in the upper part?

    The middle one is the test server (list of lightning bolt), if you try to download, you will need to switch to the remote server (standard search bullet list icon).

    If you do not have a local server running on a drive of F, and you try to put it on the test server, you will get an error saying: there is no. Is it happening?

    If you do not have a local server running on your F drive, remove the test server info, it is not necessary.

  • "Cannot display page" error message when you try to download 2010 professional

    Original title:

    Error message on Internet download from trusted sites?

    I am trying to download 2010 Professional on my computer.  Yes, I have a product key.  Whenever I try to download, I get an error message "cannot display the page.  This often happens to me.  Any suggestions?

    Hello

    Thank you for giving us the opportunity to help you with your concern for Windows!

    I see from the description of your post, that you are unable to download Microsoft Office Professional 2010.

    If you get the error message in Internet Explorer , then this might be the cause:

    For performance reasons, where Internet Explorer cannot establish a connection to a proxy server, the proxy server is added to a list of proxy servers bad so that it is not reused for a period of time. This period is 30 minutes by default. If a proxy auto-configuration script returns a PROXY list that specifies several proxy servers, a connection to the proxy in the list will be attempted. If the connection fails, the process is repeated until a connection is established, or the list is exhausted. If the list is exhausted and no connection is established, the user will receive a "Cannot display Page" error message in Internet Explorer.

    We would like to get more information about you to help solve your problem. You better, please answer the following questions.

    1. What is the full error message?

    2 are you able to download other files without any problem?

    3. what web browser do you use to download?

    4. what version of Windows are you using? What service pack is installed on the computer?

    5. based on what site are you trying to download?

    You can check the following link to learn more about the error message "cannot display the Page":

    "Internet Explorer cannot display the webpage" error in Internet Explorer

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

    Warning: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before using thfeature reset the settings of Internet Explorer e.

    Note:

    If the question is limited to Microsoft Office Professional 2010 then please post your question here for assistance:

    http://answers.Microsoft.com/en-us/Office

    Hope the information is useful.

    If you need help on this issue or any problem related to Windows, please keep us informed. We will be happy to help you!

  • When I connect to a server that is not responding, Firefox displays an error message. It just hangs there.

    I had two incidents recently where FireFox will simply display a blank screen. In both cases when I tried the same website in Google Chrome, Chrome displays an error message which helped me to solve the problem. Firefox just sits there without understanding. I can't find a check in FireFox options box that says: "display system error messages. How can I do this? I prefer FireFox to Chrome, but if FireFox didn't tell me what the problem is, I can't use it. This problem has cost me more than a week in a recent update of the site.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • My backup recently stop working and displays this error message: "failure irremediable 0x8000fff.

    I have recently, I lost all of my info by e-mail and went to try to recover from a backup. discovery of my backup has stop working and displays this error message: "failure irremediable 0x8000fff.   Doesn't sound good!  What happened and how can I solve this problem?

    Hello

    Method 1:
    You can follow the steps provided and check.

    Check the VSS service. Follow these steps:

    a. Click Start and type services.msc in the search box.

    b. Locate the VSS service and make sure that the startup type is automatic.

    i. right click on the service

    II. If the service is stopped, then start the service

    III. Select Properties

    IV. and in startup type, select automatic.

    c. click Ok.

    Method 2:


    You can also perform a clean boot and check:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article.

    Method 3:

    I also suggest to run the disk clean tool and check if it helps.

    Delete files using disk cleanup

    http://Windows.Microsoft.com/en-us/Windows-Vista/delete-files-using-disk-cleanup

  • Is it possible to display different error message 2 top / field level

    Hello

    I have a validation at the level of the item.
    The error message is very long and so I use (line break) in the text of the message.

    I want that error message (within the TOP - Inline with request for advice)
    This is a test message this is a test message. // no line break
    I want than the following (as well as the field - in line with the field) error message
    This is a test message
    this is a test message. // with line break
    Validation setting
    Error Message:- This is a test message<br>this is a test message. 
    
    Error message display location:- Inline with Field and in Notification.
    So, is it possible to display different error message 2 UPSTAIRS and on the GROUND to validate the same.

    Thank you
    Deepak

    Hello

    If I understand your need could correctly work below:

    Copy your validation so that you have 2 same validations.
    Another location of the Inline value with field error message display and another to Inline in the Notification.

    Then edit messages how you like at the same time

    BR, Jari

  • You met 800C2F19 error message using Windows Media Player.

    I use XP with service Pack 3 on it. I get the message you met 800C2F19 error message using Windows Media Player. More information are not currently available for this error.  I am trying to download the OverDrive Media Console software

    Hello

    1. don't you make changes to the computer until the problem occurred?

    2. what version of Windows media player do you use?

    3. when exactly you get this error message?

    I suggest you Uninstall and reinstall the latest version of Windows media player and check if that helps.

    Windows Media Player 11 for Windows XP: http://www.microsoft.com/download/en/details.aspx?id=8163

    Hope this information is useful.

  • Need help: display several Error Messages

    Hi refugees,

    How are you?

    I try to view a list of the following error Messages in LICS...

    ArrayList errMsg = New ArrayList();

    errMsg.add (new OAException ("ERROR 1"));
    errMsg.add (new OAException ("ERROR 2"));
    errMsg.add (new OAException ("ERROR 3"));

    OAException.raiseBundledOAException (errMsg);


    Source: OA - learning: several Error Messages in the OPS

    I am getting error while increasing the error that

    raiseBundledOAException (ArrayList) cannot call...

    He suggested that instead of the ArrayList list

    How to handle this?

    (or)  How to display several Error Message

    Please give your valuable suggestions...


    Thank you

    Kind regards

    Jaya


    Make sure that you have followed imports

    import com.sun.java.util.collections.ArrayList;

    Import oracle.apps.fnd.framework.OAException;

  • I get an "Unable to generate thumbnail" error message when you try to set up the blog using RSS Blog

    error message when you try to install blog using blog rss

    Ok. I managed to remove the two problems at the moment.  Later, I'll try to add the blog.

    Thank you for your help.

  • A pdf file exported from InDesign, but displays various error messages when the same file is downloaded on the same laptop from the company's Web site

    Hello

    I'm having a problem with a pdf file created for my business. It exports without problems and displays correctly on my computer, but once it is transferred to the Web site and you download from here, pages randomly displayed not correctly, images and pieces of text go missing and different "internal error" messages pop up, such as:

    "An internal error has occurred."

    "There is an error on this page. Acrobat may not display the page correctly. Please contact the person who created the pdf document to correct the problem.

    "Failed to retrieve the embedded police"LICYDR + GaramondMT". Some characters may not display or print correctly.
    "Insufficient for an image.

    And when I close the pdf file it asks if I want to save even if I did not bring any changes to the document. It seems that everyone has problems with pages and receive different error messages. It is exported using the smallest file size preset in InDesign. Any idea what could be the cause? Any help would be greatly appreciated!


    Thank you

    Sarah

    One thing to check is if BINARY is used in the FTP client. If a client FTP ASCII is used, it may corrupt PDF files.

    Here's another thing to check yourself for you. Find the size in bytes of your original PDF. Now, look at the size of the uploaded file in bytes. Are they the same? If this is not the case, ask your colleague the size in bytes of the PDF file on the server. Is this the same as the original, or bad file?

  • Equium A60: I get the error message using explorer.exe

    Whenever I try to open an image file using paint or Fax/Image viewer, or I try to drag a file to a folder, I get the following error message:

    "Windows Explorer has encountered a problem and needs to close. We are sorry for the inconvenience ".

    The error report says:

    "AppName: explorer.exe AppVer: 6.0.2900.2180 ModName: rpcrt4.dll.
    "ModVer: 5.1.2600.2180 Offset: 000847a 6.

    Also I can't open Web pages that open in a new window, IE. Norton Internet Security 2005 also does not open, but has claimed to be active in the background.

    Does anyone have advice for me?

    I tried all the help for explorer.exe on helpwithwindows.com problems but nothing suggested worked - as spyware, malaware removal. I ran a few controls on-line virus - given that Norton does not work I have tried the scans online.

    The laptop was bought last year, and we have lost the recovery CD - so if we need them, then where we can get replacements?

    Thank you very much

    Jonathan

    HI Jonathan,.

    It seems to me that if your OS has been corrupted, and I would recommend that you re-install. You can get the replacement of any Toshiba authorized Service partner recovery CD. You can get a list of the asp from the Toshiba web site.

    Kind regards

  • Re: Satellite P200-1EE - displays an error message in the windows Boot Manager

    I left my laptop alone and down for a few hours and when I'm back on him shows an error message in the windows Boot Manager.
    It says unable to start windows and a recent hardware or software change might be the cause. It asks me to insert my windows installation CD, and if I n t have the CD then to ring for help but unfortunately I really can t find a number at the present time.

    It also reads this:
    File: \BOOT\BCD
    Status 0xc000000f
    Info: an error occurred trying to read the boot configuration data.

    Does anyone know how to deal with this, or this happened to anyone before?

    Hello

    Maybe this article can help http://support.microsoft.com/kb/927391

Maybe you are looking for

  • I pre-ordered an album on iTunes and now he wants me to buy everything new.

    I pre-ordered an album on iTunes, and now on the release date, it's as if I've done anything and I'd have to pay for it. How can I get my music? I thought for pre-order as I get the day of the liberation. But not only have I not her, but now it's as

  • Pavilion dv6t-1100: lack of multimedia controller driver

    In Device Manager, it says that a multimedia controller driver is missing. I don't know which file to download to fix this problem. The hardware id is: PCI\VEN_1131 & DEV_7160 & SUBSYS_10551461 & REV_03PCI\VEN_1131 & DEV_7160 & SUBSYS_10551461PCI\VEN

  • Where is the memory of the device?

    Hello my application stores some data like this:

  • drivers for HP G6065EA

    1I had a major failure on my HP laptop and had to reload windows I got from Microsoft and you have installed windows 7. The system seems well apart from a few problems - no noise inside or outside and no web camera. HP seems to have no intention to p

  • 6 Lightroom can run in Windows 10?

    I was running Lightroom 6 Windows 8.1 without any problem.  The operating system has been upgraded to Windows 10 and now LightRoom from problem.  Help, please