Is it possible to disable the OAWebBeanConstants.IGNORE_MESSAGES

greetings all .... is it possible to disable the OAWebBeanConstants.IGNORE_MESSAGES . i have this ....................
{                  OAMessageTextInputBean bi = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("BI") ;
System.out.println("BI"+bi.getValue(pageContext));
if ((bi.getValue(pageContext)) != null)
{                pageContext.setForwardURLToCurrentPage(//"OA.jsp?page=/oracle/apps/ap/MainPG",
null,
false, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
System.out.println( "PM");
OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
String paramPR = prnum2;
Serializable paramPRParamList[] = { paramPR};
am.invokeMethod("paidManuallyUpdate", paramPRParamList);
System.out.println( " THE VALUE OF THE Cancel RB IS " + canx.getValue(pageContext));
prnum1.setValue(pageContext, "");
pReason1.setValue(pageContext , "");
//either one of these confirmations will work . i use one or the other
throw new OAException("Payment Has Been Updated To Paid Manually", OAException.CONFIRMATION);
//or
OAException msg = new OAException("Updated To Paid Manually", OAException.CONFIRMATION);
pageContext.putDialogMessage(msg);
the problem is if i include the setForwardURL my confirm messages dont work. if i dont include the setForward they work.
is there a way to do the setForwars so i can redirect the page and make the table inactive and also use the confimations. i can see its going past my system.prints. it just isnt popping up my confirmations as i believe its due to the IGNORE_MESSAGES.
any insight ....
cheers.

Hi,
SetForward*()...It lets the current page processing complete. Your following code will complete its processing, after that it will be forwarded to next page.
ForwardImmediately.... Forwards immediately without letting remaining code process.
However, a good thing is pageContext of the same page is forwarded. That means, if you did pageContext.putDialog(message), in current page, that will be forwarded in both the cases to next page. Hence, for your problem...
use putDialog method, as stated in previous post and
use forward url as CONFIRMATION, NOT AS ERROR OR IGNORE_MESSAGE.
pageContext.setForwardURLToCurrentPage(//"OA.jsp?page=/oracle/apps/ap/MainPG",
null,
false, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAException.CONFIRMATION); //WHAT YOU HAVE PUT IN DIALOGS AND WANT TO SHOW IS CONFIRMATION.
Please try this.
Abdul Wahid

Similar Messages

  • Is it possible to disable the 'edit layout' link on the record detail page

    Is it possible to disable the 'edit layout' link on the record detail page? Not the homepages, I know there is a switch for that, but I thought there was one for the detail pages?
    I want to disable this as I dont want users saving their own layouts, they must stick to the related sections defined in the default layout. The problem is that if they are to have access to certain related lists when an opportunity is of a certain type but NOT other types. If they have saved the layout (using the 'Edit Layout' link), and change the record type, they will see related sections that have been set to 'Not available' in the default layout (ie step 4) for that 'type'.

    Robbo, at this time it not possible to disable the Edit Layout on the record detail page.

  • Is it possible to disable the screen saver for a certain app?

    Is it possible to disable the screen saver just while a certain application is running?
    The app seems to crash when the screen saver comes on.
    Just so you know, application I'm using is Hogwasher; a newsgroup reader.

    Not really. Just disable it manually when you run that application. Then, send off a bug report to the app's developer and tell him to update it for the latest Tiger. Alternatively, use another newsgroup reader.

  • Is it possible to disable the optimized compiler in LabVIEW 2010

    Hello,
    I have a project that take 3 minutes in LabVIEW 8.6 to build and now with LabVIEW 2010 it take 10.5 minutes. 3x more longer.
    In fact my project as 61 .lvproj for a total of 4300 vi's that take 1 hour to build. If I interpolate, the entire build process will take 3 hours in LabVIEW 2010. This is not acceptable
    I know that the new compiler optimize the code for better performance, but if I don't need better performance.
    Is it possible to disable the optimized compiler in LabVIEW 2010 with an INI key in LabVIEW.ini.
    Dany Allard
    Dany Allard
    Solved!
    Go to Solution.

    Jarrod S. wrote:
    One Application Builder setting you might try out to make builds go much more quickly is the Remove Unused Members of Project Libraries checkbox and the Modify Project Library File after Removi....
    This can drastically cut down the build times. Note, however, that this option does not work well if your application will load external plug-in VIs when it runs, because the libraries of those plug-in VIs may conflict with the modified libraries in the executable file. If you don't have a plug-in architecture, this will not affect you.
    The "Remove unused members of project libraries" was already selected but not the "Modify project library file after removing unused members" and selecting this cut the build time from 10.5 min to 4 min.
    Thank you Jarrod for this tips
    Dany
    Dany Allard

  • My kids use firefox on my computer. Is it possible to disable the private browsing feature so they can not go on and use it ?

    I want the computer to keep a history of all the site they have searched, but can not know for sure if they turn on/off the private browsing function. Is it possible to disable the private browsing function and put a lock / password on it ?
    Thanks,
    David

    Even if it was possible to remove or disable "Private Browsing" then that still won't make it impossible to delete private data like visited websites (history) or cache or cookies.<br />
    There are a lot of ways to clear such data, either via [[Clear Recent History]] or directly by deleting the History in the Library or sidebar.<br />
    Private Browsing makes it easier because all data is kept in memory and nothing is saved to disk, so nothing needs to be removed.<br />
    <br />
    If you want to see which sites have been visited then you should look at others means outside Firefox like a router or firewall with a password protected logging feature that can't be bypassed or a program like Wireshark.
    * http://www.wireshark.org/download.html
    * http://en.wikipedia.org/wiki/Wireshark
    See also:
    * http://kb.mozillazine.org/Parental_controls

  • Is it possible to disable the camera on the nano 2 gen.  My grandaughter is in boarding school and no cameras are allowed.

    is it possible to disable the camera on a nano 2nd generation?  My grandaughter is in boarding school, and they do not allow any form of camera.

    Specs for iPod nano 2nd gen >  http://manuals.info.apple.com/en_US/iPod_nano_2nd_Gen_Features_Guide.pdf
    No camera.

  • Is it possible to disable the play button when exporting to exe or app files?

    Is it possible to disable the play button when exporting to exe or app files? Can the app just boot up without the playbutton?

    Are you talking about auto play option or the play button on Playbar?
    I just checked the EXE ran fine without requiring any play button to start as per my settings.
    Is this waht you are looking to achieve?
    Thanks,
    Anjaneai

  • Is it possible to disable the trackpad when a wireless or usb mouse is present? With Lion 10.7.2, I can not find the checkbox that was there before I installed Lion. Is the option gone on Lion?

    Is it possible to disable the trackpad when a wireless or usb mouse is present? With Lion 10.7.2, I can not find the checkbox that was there before I installed Lion. Is the option gone on Lion?

    There is no BIOS in OS X. There is only the EFI stored in ROM that is not user modifiable. OS X is probably checking Bay 0 for the boot drive since that is where it should be. It won't check the Tempo drive since it is treated like an external drive. I suggest you open Startup Disk preferences to see if the Tempo device is selected as the boot device. If it isn't, then select it. That will probably shave off a few seconds in the startup time.

  • Is it possible to disable the autodimm function, so that the clock can be displayed all the time?

    Is it possible to disable the auto dim function, so that the clock can be displayed all the time?

    At this time it is not possible. Sorry. 
    Being able to do so would dramatically decrease your iPod's battery life between charges.
    B-rock

  • If my iPhone is stolen and the thief shut the phone down, I wouldn't be able to locate it anymore.  Is it possible to disable the possibility to shut down the phone when a passcode lock is set up?

    If my iPhone is stolen and the thief shut the phone down, I wouldn't be able to locate it anymore.
    Is it possible to disable the possibility to shut down the phone when a passcode lock is set up?
    enable prohibition shutdown option, with out a jail break tweek
    Apple should think about this, if not already in the new IOS 7

    No.
    The battery will run out sooner or later anyway, even if you could prevent shutdown.
    iOS 7 includes a feature that prevents anyone wiping and then re-setting up the phone without your AppleID and password.

  • TS2755 Is it possible to disable the Messages App

    Is it possible to disable the Messages App all together through profiles or a Management tool on an iPad in an enterprise situation?
    Currently we are having issues with this App in a work place and want to disable it all together. I've looked through the iPhone Configuration Utility and there doesn't seem to be any option for this. Anyone got any advice?

    Hi suyog83,
    Have you tried using Apple Configurator instead of IPCU?
    https://itunes.apple.com/us/app/apple-configurator/id434433123?mt=12
    You can disable iMessages and Game Center by creating a restrictions configuration profile for "supervised" iOS 6 devices using Apple Configurator. Here's more on how to use Apple Configurator:
    http://help.apple.com/configurator/mac/1.0/
    Hope this helps!
    ~Joe

  • Is it possible to disable the ATV wireless?

    Hi
    I use my ATV with an ethernet cable rather than over wifi for better performance. Does anyone know if it's possible to disable the WIFI radio on the ATV?
    Thanks!
    ukflo

    the WIFI is disabled when you connect a (live) ethernet cable to the appletv.

  • Is it possible to disable the keyboard on a macbook?

    I have a 13", early 2008 MacBook, running 10.7.5. Does anyone know if it's possible to disable the MacBook's own keyboard when I have a separate keyboard plugged into it? It would really help prevent unintentional typing/deleting/opening of apps etc. by the cat!

    Hello pmacd12 and welcome to Apple Support Communities,
    I can't think of a software solution that wouldn't involve something you wouldn't want to do. A hardware solution would involve disconnecting the top case but that would also disconnect the power switch.
    I think you should make a hard cover to cover the keyboard when you're using it. Aluminum or hard fiberboard would do nicely.
    My cat doesn't bother my keyboard, just whacks me with her tail or puts her paw on my shoulder meaning she wants to be let out!

  • Is it possible to disable the nativeApplication.menu?

    hello,
    Just wanting to know if it's possible to disable the
    NativeApplication.nativeApplication.menus for AIR apps running on
    OSX?
    cheers

    Yes, you can disable the webcam software from automatic loading.
    In RUN type *msconfig* and start this tool.
    There you will see the tab called Startup. Go to this tab and disable the webcam software (remove the mark).
    Then apply the changes and reboot the notebook.
    Now the Windows should boot up without the webcam software.
    Bye

  • Is it possible to disable the garbage collector?

    I was just wondering if it's possible to disable the garbage collector... Thank you.

    Try running with the -Xnoclassgc parameter.
    http://java.sun.com/developer/JDCTechTips/2004/tt0420.html#2

Maybe you are looking for