Problem in Displaying Confirmation message when (retain am=false)
i have a scenario wherein after committing the records,i need to redirect to a new page,with the confirmation messages.but ,to avoid stale data erorr,i have to make "retain am" parametere as "false".
now the messages are not thrown on the next page if the reatinam is false.
any workaround
In PFR:
pagecontext.putParameter("SuccessMsg", "ALV_QA_NCR_CREATE_CONFIRM");
pagecontext.putParameter("NcrNumber",Param_NcrNumber );
pageContext.forwardImmediately("OA.jsp?page=/alv/oracle/apps/qa/ncr/webui/XXALVACTIONS_PG&OAHP=XXALV_QA_HOME&OASF=XXALV_QA_UPDATE_ACTIONS",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
false, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO
in PR of the new Page:
String vMsg= pageContext.getParameter("SuccessMsg");
if(vMsg!=null)
Number ncrNum = (Number) pageContext.getParameter("NcrNumber");
MessageToken[] tokens = { new MessageToken("NCRNO", Param_NcrNumber)};
OAException confirmMessage = new OAException("QA", vMsg, tokens,
OAException.CONFIRMATION, null);
throw confirmMessage;
Regards
Sumit
Similar Messages
-
How to Display Confirmation message when data is stored in DB ?
Hello.
I am persisting user entered data to database table. But I want to display custom message like "Stored successfully" or "Not Stored".
I am using following approach in my controller and AM impl
in PFR:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
am.invokeMethod("insertDataToDeviceDetailsTable") ;
in AM Impl :
public void insertDataToDeviceDetailsTable(){
getDBTransaction().commit();
//delegating control to Device Details Page
How to do it ? and also what is the best way to show messages in this scenario. As in some pages a dialogue box appears and the page become inactive.
waiting for reply..
Regards,
AjayHi,
You can pint message after am.invoke method:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
am.invokeMethod("insertDataToDeviceDetailsTable") ;
throw new OAException("Stored successfully", OAException.INFORMATION);
in AM Impl :
public void insertDataToDeviceDetailsTable(){
getDBTransaction().commit();
--Sushant -
How to display confirmation message in SPItemEventReceivers
Is there a way to display confirmation message in ItemAdding event?
I would like to display confirmation message and based on user input proceed with the other steps.
public override void ItemAdding(SPItemEventProperties properties)
// Display confirmation message
if(OKClicked)
// Do something
else
// Cancel Operation
Thanks in advance,
dhijithttp://sharepoint.stackexchange.com/questions/32055/creating-event-handler-feature-ondeleting
http://social.technet.microsoft.com/Forums/lync/en-US/39115b48-873b-462e-aa16-a7f7ce5c91d8/sharepoint-2013-online-office-365-list-item-added-event-receiver-how-to-sow-confirmation-message?forum=sharepointdevelopment
http://social.msdn.microsoft.com/forums/sharepoint/en-US/2941f80e-37c9-4b83-a41c-a9cc712d2e18/display-message-from-itemadded-event-receiver
http://sharepoint.stackexchange.com/questions/65858/confirmation-message-as-a-popup-for-itemupdating-in-event-receivers
http://stackoverflow.com/questions/11999312/popup-alert-message-using-event-receiver-in-sharepoint-2010 -
Hi! All,
I am getting a deadlock kind a situation while displaying JOptionpane message dialog. It's very rare to simulate also. I am also posting the Thread dump which i have taken programmatically, when this situation arises.
For your Information, I am using JRE 1.5.0_04 or later version on Windows XP.
We searched on Java.sun.com site, & we got that two bugs are related to our problem, but there are arises in JRE 1.4.2 or before version & have been fixed at JRE 1.5 .
Follwing are the bugs ID in Sun Bugs Database: 4978089, 4828019.
Can anyone suggest me which is the stable JRE 1.5 version to avoid this problem. Also can anyone suggest me the workaround of this problem. I want to fix this in our application ASAP.
following is My Thread Dump :
Thread[Finalizer,8,system]
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
Thread[Java2D Disposer,10,javawsApplicationThreadGroup]
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.lang.ref.ReferenceQueue.remove(Unknown Source)
sun.java2d.Disposer.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[JCIL_Sess(813251)_EvtThd(24880015),5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.CallAppearanceTable$EventAdapter.OnCallEstablished(CallAppearanceTable.java:982)
in.co.netsol.telecom.ctios.events.EventSinkAdapter.OnEvent(EventSinkAdapter.java:142)
com.cisco.cti.ctios.cil.EventPublisher.PostEvent(EventPublisher.java:175)
com.cisco.cti.ctios.cil.EventPublisher.FireEvent(EventPublisher.java:142)
com.cisco.cti.ctios.cil.CtiOsSession.FireEvent(CtiOsSession.java:1849)
com.cisco.cti.ctios.cil.Call.FireEvent(Call.java:254)
com.cisco.cti.ctios.cil.Call.OnCallEstablishedEvent(Call.java:1136)
com.cisco.cti.ctios.cil.Call.OnEvent(Call.java:943)
com.cisco.cti.ctios.cil.CtiOsSession.OnEvent(CtiOsSession.java:2107)
com.cisco.cti.ctios.cil.CilServiceEvent.ReceiverThread(CilServiceEvent.java:256)
com.cisco.cti.ctios.cil.CilServiceEvent$1.run(CilServiceEvent.java:173)
Thread[pool-1-thread-5,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.MakeAgentReadyCommand$EventAdapter$1.run(MakeAgentReadyCommand.java:190)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[DestroyJavaVM,5,main]
Thread[AWT-Shutdown,5,javawsApplicationThreadGroup]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
sun.awt.AWTAutoShutdown.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[JCIL_Conn(18096534)_Watchdog,5,main]
java.lang.Object.wait(Native Method)
com.cisco.cti.ctios.util.UnNamedEvent.WaitForSingleObject(UnNamedEvent.java:147)
com.cisco.cti.ctios.cil.CilConnection.WatchdogThread(CilConnection.java:527)
com.cisco.cti.ctios.cil.CilConnection$1.run(CilConnection.java:1071)
Thread[AWT-EventQueue-0,6,main]
java.awt.Container.getComponents_NoClientCode(Unknown Source)
java.awt.Container.getComponents(Unknown Source)
javax.swing.JToolBar.getComponentAtIndex(Unknown Source)
javax.swing.plaf.basic.BasicToolBarUI.navigateFocusedComp(Unknown Source)
javax.swing.plaf.basic.BasicToolBarUI$Actions.actionPerformed(Unknown Source)
javax.swing.SwingUtilities.notifyAction(Unknown Source)
javax.swing.JComponent.processKeyBinding(Unknown Source)
javax.swing.JComponent.processKeyBindings(Unknown Source)
javax.swing.SwingUtilities.processKeyBindings(Unknown Source)
javax.swing.UIManager$2.postProcessKeyEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Thread[AWT-Windows,6,main]
sun.awt.windows.WToolkit.eventLoop(Native Method)
sun.awt.windows.WToolkit.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[Timer-0,5,javawsApplicationThreadGroup]
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Unknown Source)
in.co.netsol.telecom.log.ThreadDumpLoggingTask.getStackTraces(ThreadDumpLoggingTask.java:47)
in.co.netsol.telecom.log.ThreadDumpLoggingTask.run(ThreadDumpLoggingTask.java:36)
java.util.TimerThread.mainLoop(Unknown Source)
java.util.TimerThread.run(Unknown Source)
Thread[JCIL_Conn(18096534)_Rcvr,5,main]
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(Unknown Source)
com.cisco.cti.ctios.cil.NetPort.ReceiveData(NetPort.java:405)
com.cisco.cti.ctios.cil.NetPort.ReceiveData(NetPort.java:363)
com.cisco.cti.ctios.cil.CilPacket.ReadFromPort(CilPacket.java:649)
com.cisco.cti.ctios.cil.CilConnection.ReadPacket(CilConnection.java:670)
com.cisco.cti.ctios.cil.Connection.ReceiverThread(Connection.java:398)
com.cisco.cti.ctios.cil.Connection$1.run(Connection.java:472)
Thread[pool-1-thread-2,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.SupervisorAssistCommand$EventAdapter$1.run(SupervisorAssistCommand.java:152)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[pool-1-thread-1,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.ConferenceCallCommand$EventAdapter$1.run(ConferenceCallCommand.java:144)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[JCIL_Svc(5450181)_TxQThd(3083604),5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
com.cisco.cti.ctios.util.QueueThread.GetQItem(QueueThread.java:152)
com.cisco.cti.ctios.util.QueueThread.run(QueueThread.java:259)
Thread[pool-2-thread-1,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.Dialog.show(Unknown Source)
javax.swing.JOptionPane.showOptionDialog(Unknown Source)
javax.swing.JOptionPane.showMessageDialog(Unknown Source)
javax.swing.JOptionPane.showMessageDialog(Unknown Source)
in.co.netsol.telecom.desktop.DesktopMainPanel$3.run(DesktopMainPanel.java:1871)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[Signal Dispatcher,9,system]
Thread[Reference Handler,10,system]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
Thread[TimerQueue,5,javawsApplicationThreadGroup]
java.lang.Object.wait(Native Method)
javax.swing.TimerQueue.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[pool-1-thread-4,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.MakeAgentNotReadyCommand$EventAdapter$1.run(MakeAgentNotReadyCommand.java:146)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[pool-1-thread-6,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.TransferCallCommand$EventAdapter$1.run(TransferCallCommand.java:136)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[traceMsgQueueThread,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thread[pool-1-thread-3,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
java.awt.EventQueue.invokeAndWait(Unknown Source)
javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
in.co.netsol.telecom.desktop.command.EmergencyCommand$EventAdapter$1.run(EmergencyCommand.java:146)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Thanks & Regards,
Pradeep GuptaUpdate to the latest version 1.5.0_06 available from:
http://java.sun.com/j2se/1.5.0/download.jsp
It is advisable to remove previous version(s) installations unless required otherwise for a specfic application. -
Report with BDC not displaying success message when run in Background
I am running a BDC report in Background mode.The below statement is not capturing the Success message when a document is posted.But when I am running the same in ForeGround mode it is capturing and is displayed in the output.Can anyone please help me in understanding why this is happening and how can I resolve this.
CALL TRANSACTION 'MB1C' USING bdcdata MODE mode UPDATE 'S'
MESSAGES INTO messtab.Hi Madhu,
I think your BDC didnt generated any document when you run it in 'N' screen mode.
Debug your program when you run it in background
Goto Tcode :SM37
Select the job ( march checkbox )
==> in command prompt enter 'JDBG'
==> Then you can start reexecting the job .
You can check the sucess messages accordingly in debug mode
Also add a read statement on messtab for msgtype = 'S'.
Thanks
Bhanu -
Any way to display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>Use swfobject for Flash detection and you can provide all kinds of alternate content... simple text, images, links, .js slideshow, a mov or mp4 video just for the iPhone... ANYTHING this is regular HTML. Your imagination is the only limit.
And YES, HTML5 is a far cry from replicating Flash... so give them the best of both worlds.
http://code.google.com/p/swfobject/
Review this article which deals with Flash and SEO for more ideas:
If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
http://www.worldbarefootcenter.com/
The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
http://www.ksowetsuits.com/
View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
http://code.google.com/p/swfobject/
Best wishes,
Eye for Video
www.cidigitalmedia.com
Adninjastrator -
Can I display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>You can parse out the userAgent property of browser. Here's an article that will point you in the right direction: http://www.askdavetaylor.com/detect_apple_iphone_user_web_site_server.html
-
How to display success message when data is changed in the custom tab in MM
Hi,
I have added a new custom data tab in the MM01/MM02/MM03 transactions. Whenever I do changes to fields in the custom tab in MM02 transaction, and no changes in the standard tabs, I will get a message stating "No Changes Made".
But if I do changes in the standard tabs, it works as usual with display of message "Changes to particular material has been done.
Please let me know, if anyone of you know, how to display the success message if the changes to the custom tab is done.
Thanks in advance,
sudhanvaHi Sudhanva,
The exit EXIT_SAPLMGMU_0001 is a function exit that you can use for custom validation but not to add custom tab/screen.
But the message issued by SAP is not related to this Function Exit.
If you have used a Screen Exit, then there must be some Function Exits also in the same Enhancement using which you can assign the value of custom fields to/from the standard structure. Thus when the value of any custom field is changed the system can understand that the some changes have been changed and will not issue the message.
In case you have used a BADI, there can be other methods in the BADi using whcih you can assign the value of custom fields to/from the standard structure. This might also prevent the message from being displayed.
I could try giving you further details if you can provide the name of the Enhancement/BADi that you used to add the additional tab.
Hope this helps.
Regards,
Abhisek. -
Display a message when an item is selected from a dropdownlist
Hi,
I need to display a message(kind of alert message) when certain items are selected from the dropdownlist.
Let me know what is a good way to do this in web elements?
Thankshello,
unfortunately there is no validation / alerting for select menus in webelements.
however...if you're feeling ambitious and or this is a definite requirement for your project...custom functions are open source so you could write an on change javascript function within the WESelect custom function that will find the new value and compare it against your certain items array of values.
out of curiosity, what is your project's particular need to have an alert for a select menu based on what the end user selects? if this comes up more often or there's a good use case perhaps this could be built into a future version.
jw -
How to disable confirmation message when submitting a pdf form
How do I disable the confirmation mesage, so that the user does not get at message like " you form has been recieved" each time data is submitted?
The reason for my question, is that i have a pdf form that i'd like to fill out offline, store the settings (data) in an array and the when I get online again run a loop that populates the form with the values storen in my array and submits them one at the time to formscentral.
I'm able to make the loop work just fine, however I do not want to see the confirmation message each time data is submitted, because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok".
Hope someone can provide me with some help hereHi,
>>however I do not want to see the confirmation message each time data is submitted, because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok".
Sorry, disabling the confirmation message is not possible. The confirmation is always enabled.
Thanks,
Lucia -
Problem with displaying warning message in exit EXIT_SAPMM06E_012
Hi,
I need in EXIT_SAPMM06E_012 exit display warning message.
I've created klass Y0108MM_Z1 and message 000 in it.
When i display as error message -> message e000(Y0108MM_Z1).
everything is fine.
but when use message w000(Y0108MM_Z1) it doesn't apear.
Please help it is very important for me.
Regards,
Greg.
Message was edited by:
Grzegorz SkibinskiHi,
I think message will appear.
For testing please do from the main screen press Alt+F12 > options> options tab --> check " dialog box at warning message " and test your scenrio.
Here warning message appear in a dialog box.
a® -
Stop displaying a message when button is pressed more than one
Hi
I have a forms with button 'save' and when user pressed this button i do some checks and display a message, what i want is to display the message only the first time user presses the button, if user presses the button again and again, message should not be displayed...but i do not know how to fix this, has someone an idea? Thanks.Take a look at About Global Variables. You might also want to bookmark the Oracle Forms Documentation web site.
Basically, you will use a Global Variable as a counter. In your button code, you check the value of the Global Var to see if it is greater than 1. If it is, you exit. If it is not (in other words the Global is equal to zero) then you add 1 to the variable and you display your message. Pretty basic stuff.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly. -
Problem while displaying popup message while using inputfile component
Hi
I am using JDEV 11.1.1.2.0, using ADF i developed and application
in my page i have a input file component, from which i am taking a csv file and reading it through valuechangeevent of inputfile component. I have used myfaces.trinidad-UploadedFile to get the selected file and read it using inputstream.
I have put some validation check (validation check is done while reading the file using valuechangeevent of the inputfile component), while reading the file and incase i receive any error (validation mismatch), the reading of file stops ... and before doing that i used to display error message using below method:-
public String ValidationCheck(String attrname, String attrvalue, int rownumber) {
String msg="Validation error found in "+attrname+" with value "+attrvalue+" of row "+rownumber+" in the file. Please correct the file and retry/";
FacesContext ctx = getFacesContext();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
ctx.addMessage(null,fm);
return null;
i have used the same method to display message in other places where its showing correctly but fails in inputfile component.
Please help me out how can display messages from inputfile component??
Thanks
Sudeep
Edited by: SKD on Feb 21, 2012 12:02 PM
Edited by: SKD on Feb 21, 2012 4:08 PM
Edited by: SKD on Feb 21, 2012 4:11 PMIt works fine for me (albeit on 11.1.2.1). Here is my complete test case:
FileUploadTest.jspx:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="FileUploadTest.jsf" id="d1">
<af:form id="f1" usesUpload="true">
<af:inputFile label="Label 1" id="if1" valueChangeListener="#{TestBean.vcl}"/>
<af:commandButton text="commandButton 1" id="cb1"/>
</af:form>
<af:messages id="m1"/>
</af:document>
</f:view>TestBean.java:
package view;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import oracle.adf.share.logging.ADFLogger;
public class TestBean
private static final ADFLogger _LOG = ADFLogger.createADFLogger("view.TestBean");
public TestBean()
public void vcl(ValueChangeEvent valueChangeEvent)
_LOG.severe("in the value change event");
FacesContext ctx = FacesContext.getCurrentInstance();
FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "This is a message", "Message");
ctx.addMessage(null, fm);
}adfc-config.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<managed-bean id="__1">
<managed-bean-name>TestBean</managed-bean-name>
<managed-bean-class>view.TestBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</adfc-config>John -
Has anyone got a script for displaying a message when attribute combo = 0 stock on hand
Looking for a script to display the wording back order when stock = 0.
I am currently using {tag_instock, true, Please choose your customisation,Back Order}
but that onle displays back order when product disable
dont want to disbale producthttp://www.acrobatusers.com/tutorials/2007/js_document_scripts/ Entering Document Scripts by Thom Parker
http://www.adobe.com/devnet/acrobat/javascript.html JavaScript for Acrobat
You can enter:
this.getField("todaysDate").value = util.printd("mdyyyyHHMM", new Date());
or
function Initialize() { // define action
this.getField("todaysDate").value = util.printd("mdyyyyHHMM", new Date());
return true;
} // end Initialize function
Initialize(); // call action -
DW CS3 does not display confirmation dialog when checking out file
We have 3 developers set up with DW CS3 Version 9 build 3481.
When checking out a file that is already checked out one pc will
display a dialog box to confirm that you want to check-out the file
as it is already checked out by someone else. This is good as we
want this dialog to appear. However on the other 2 pc's there is no
dialog box displayed and the checkout process continues as if the
file was never checked out.
The text of the confirmation dialog box reads as such :
"index.cfm is checked out by first.lastname. Are you sure you want
to override his/her checkout?". I have been through the preferences
and verified that we have setup the sites in the same manner but we
still have this issue.
Is there a known bug regarding this feature? Is there a
preference setting somewhere that I have missed?
thanksAre each of your developers sharing the same local site?
That's why you are
getting this error if they are. The proper setup would
involve THREE
locations:
1. Local sites (unique to each workstation)
2. Staging server (shared by all workstations)
3. Production server (the live site)
You would have TWO site definitions, which would be -
(for each workstation)
1. Local = #1 (unique location for each workstation)
2. Remote = #2
(for one MASTER workstation)
1. Local = #2
2. Remote = #3
Use the first site definition for day-to-day work and
checking files in/out.
Use the second site definition ONLY for pushing files from
the staging
server to the production server.
That's the only way it will work....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"bemor" <[email protected]> wrote in message
news:g3ojq5$4il$[email protected]..
> We have 3 developers set up with DW CS3 Version 9 build
3481. When
> checking
> out a file that is already checked out one pc will
display a dialog box to
> confirm that you want to check-out the file as it is
already checked out
> by
> someone else. This is good as we want this dialog to
appear. However on
> the
> other 2 pc's there is no dialog box displayed and the
checkout process
> continues as if the file was never checked out.
>
> The text of the confirmation dialog box reads as such :
"index.cfm is
> checked
> out by first.lastname. Are you sure you want to override
his/her
> checkout?". I
> have been through the preferences and verified that we
have setup the
> sites in
> the same manner but we still have this issue.
>
> Is there a known bug regarding this feature? Is there a
preference
> setting
> somewhere that I have missed?
>
> thanks
>
Maybe you are looking for
-
OIM 9.1 Xellerate User Provision form
Hi, I want to add a process task to Xellerate user form and form that is cretaed while configuring Generic connector. But it seems that those are disabled. Does it mean that no modification can be done on thses forms? Thanks
-
I purchased a new router. Everything is working great except for a third-generation time capsule which will not accept a change from join a wireless network to extend a wireless network as it did before. Does anyone know how to fix that?
-
HT1212 if iphone is disabled try again 22,787,904 minutes what to do to unlock it?
i need help to unlock my iphone 3gs. it says there iphone disabled try again 22,787,896 minutes. i have another phone 4s and its ok but i have a problem with the password. i already dont want to restart my 3gs as i might loose all the pictures, mess
-
Merge PR (same sales order) and Create PO using BADI
Hi, How to merge PR (of same sales order) and create PO using Tcode ME59n. Is this possible using BADI? pls reply. A Rahim.
-
For every control in my project I have an orange box over the color picker not allowing me to change the color of any controls unless I manually set the color in the xaml code(which changes it successfully). Going on a certain resource dictionary pag