Confirm OK/Cancel: could not stop processing after redirect

I am have a problem doing a JavaScript confirmation which in a cfinclude file in the process page.
When the display page send content to the process page, and process page first do some validation which is included in a cfinclude file. The issue is user need to choose from a confirmation message box, choose OK to continue processing, Cancel to send user to previous display page. Every thing seems working, except when user choose Cancel and is sent to the previous page, the execution on the process page continues anyway, behind scene though. Without server process validation you may not realize it. but the truth is it does not stop when user choose Cancel.
So I need your insights how to handle the situation: give user choice to choose but when user select Cancel, stop the execution of the code after cfinclude.
Is there anyway to do the message box without JavaScript? If only it could be done in Coldfusion, then the problem solve, by setting a coldfusion variable to stop the execution.
Please help!
Thanks
Jush

Keep in mind that cf runs on the server, js runs on the client, and the two don't know what the other is doing.  You have a couple of choices.
1.  Put the validation on the initial page so that selecting cancel keeps them on that page.
2. Have a page that does validation and nothing else.  Have the rest of the code on another page.  Use js to send the user to the proper page depending on what they select with the confirm dialogue.

Similar Messages

  • Foxfire will not stop processing after I X-out of browser

    if I x-out the screen disappears but firefox is still running. if i ask to reload message says already on. and task manager says it is on....... but no screen.
    if i don't check task manager then firefox could be left on accidentally for hours
    This may have started after last update.

    Try to update to Firefox 29.0.1 via Help > About
    *Press the F10 key or tap the Alt key to bring up the hidden Menu bar.
    There is also a Help (?) button in the drop-down list of the 3-bar Firefox menu on the Navigation Toolbar.

  • Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018

    dear SAP
    i have a system Solman 7.1
    i'm upgrading Solman from SP04 to SP13 using SUM (SP12 patch 10) on windows 2012
    and i faced  error  during  Excution phase 5.6  in JAVA Stack.
    phase : Excution - Actual Update
    Error : An error has occurred during the execution of the Deploy software components step.
    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    You can find more information in the files D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG and ProcessOverview.html.
    To troubleshoot the problem use the provided information. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following keywords:
    SUM??execute??component-deploy-700??deploy-components??com.sap.sdt.j2ee.services.servicesimpl.SDMService??class com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException
    i try to restart server and killed sapstartsrv..  but the problem is not solved. 
    please let me know what i check more?
    D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[2.0.7.1006]/-->
    <!--NAME[D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG]/-->
    <!--PATTERN[DEPLOY-COMPONENTS_22.LOG]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Apr 19, 2015 3:59:00 AM [Info  ]: Stopping SDM server...
    Apr 19, 2015 3:59:00 AM [Info  ]: AS Java process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]:   Command line: D:\usr\sap\SOL\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=d:/usr/sap/SOL/DVEBMGS00/SDM/program/lib;D:/usr/sap/SOL/DVEBMGS00/exe/sapjvm_4/jre/lib/ext -cp . -jar d:\usr\sap\SOL\DVEBMGS00\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=d:/usr/sap/SOL/DVEBMGS00/SDM/program logfile=D:\usr\sap\SOL\SUM\sdt\log\SUM\OperateSDM_60.LOG
    Apr 19, 2015 3:59:00 AM [Info  ]:   Standard out: D:\usr\sap\SOL\SUM\sdt\log\SUM\OPERATESDM_44.OUT
    Apr 19, 2015 3:59:00 AM [Info  ]: Process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]: Waiting for process ID 11, name java.exe to finish.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been finished, exit code 16.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been terminated.
    Apr 19, 2015 3:59:02 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException: Could not stop SDM server.
    Cannot execute Java process for stopSDM with parameters 50018.
    Return code condition success evaluated to false for process java.exe for action ACTION_STOP.
    Best regards..

    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    Please follow the solution mentioned in the below link.
    Error During Deployment - Java Support Package Manager (OBSOLETE) - SAP Library
    regards,
    pavan

  • Your submission could not be processed because the token has expired. Please reload the window.

    Your submission could not be processed because the token has expired.
    Please reload the window.
    This is an error that is very common on message boards, and only seems to happen fore firefox...people on chrome, IE, etc don't seem to get it. This error has been occuring since the very first version of firefox and has never been fixed since.
    You get this error when you have a thread open in a tab and try to reply to it after somet ime has passed. Refreshing it doesn't fit the problem unless you use ctrl+f5. It's very annoying, when is it going to get fixed?

    Well yes, ctrl+f5 will fix it...but why doesn't this problem happen in other browsers (apparently)?
    It's particularly annoying when i close the browser at the end of every day and have to manually refresh all my message board tabs the next day to post.

  • I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    Hmmm.  Maybe try this?
    OS X: Changing or resetting an account password

  • What does 'Appliance Error (configuration error) Your request could not be processed because of a configuration error: account is disabled' mean?

    All of a sudden Safari on my MacBook Air won't let me do anything. I have a Mac OS X Version 10.7.5.
    As soon as I open Safari, a message comes up straight away saying 'Appliance Error (configuration error) Your request could not be processed because of a configuration error: account is disabled'.
    I also can't check for system updates because of a 'network error' and can't connect to the App Store.
    My internet is working fine and safari is working fine on both my iPhone and iPad.
    I've never seen this message before and I'm not having much luck in searching for an answer.
    This may be a silly question, I don't know, but does anyone have a solution?

    Back up all data.
    From the menu bar, select
     ▹ System Preferences... ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. If any proxy options are selected, make a note of them and then deselect them. You don’t need to change the bypass or FTP settings. Click OK and then Apply. Test. The result may be that you can't connect to any web server. Restore the previous settings if that happens.

  • Selected inbox item could not be processed

    1. I access inbox workcenter and filter my appointment. I choose specifed activity and press interact button. System show error message "Selected inbox item could not be processed". Why? How to deal with problem?
    2. I want to the interact button concept in sap standard . If I press interact button, what it follow? to transaction document or to account identfication ?thanks

    Hi Sylvain:
          I use person 92543 as my activity partner. So it would be B2C scenario. I customize the account partner function  in my BP determination. But system show same error. When I touch a row of partners list , the error disappear. it is strange.

  • The session could not be processed in lsmw

    Hi Experts,
           I am uploading data using lsmw following direct input method.But in this i got an error when processing the session.It shows the status message like 'the required session could  not be processed'.It also read and convert the input data file successfully.
           Can anyone pl help me what the mistake i have done.
    Thanks in advance!!!

    Adobe Lightroom - Find moved or missing files and folders

  • Message could not be processed error

    Hello Experts, We are on PI 7.31 SP7 java only stack.  Our scenario is a File to IDOC with BPM process. Here are the steps I did so far. 1. Completed the design objects 2. Completed the configuration objects 3. Developed the BPM process, build and deployed to the PI system. Now I am trying to test my scenario end to end. When I run my test, this is the error I see in the message monitor: Message could not be processed. Reason: com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: com.sap.SOA.wsr.030106 - No operation found using soap keys [], [MATMAS05]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, SEIName=MI_MATMAS05_MDMMRO_ABSTRACT_MASS, PortTypeQName={http://mdmerpinterface.oxy.com}MI_MATMAS05_MDMMRO_ABSTRACT_MASS, Galaxy_SDO=true, InterfaceMappingID=379227b6:144229469db:-7ef3, SoapVersion=SOAP11, BindingQName={http://mdmerpinterface.oxy.com}MI_MATMAS05_MDMMRO_ABSTRACT_MASSBinding}. 3/7/2014 2:03:23.805 PM Error Delivery of the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. FaultException: com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: com.sap.SOA.wsr.030106 - No operation found using soap keys [], [MATMAS05]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, SEIName=MI_MATMAS05_MDMMRO_ABSTRACT_MASS, PortTypeQName={http://mdmerpinterface.oxy.com}MI_MATMAS05_MDMMRO_ABSTRACT_MASS, Galaxy_SDO=true, InterfaceMappingID=379227b6:144229469db:-7ef3, SoapVersion=SOAP11, BindingQName={http://mdmerpinterface.oxy.com}MI_MATMAS05_MDMMRO_ABSTRACT_MASSBinding}. Any help on this is very much appreciated. Thanks MLS

    hi.
    check bpm process regestry.

  • Could not open itunes after latest update

    Could not open Itunes after latest update. Any sloutions??

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can't contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
     Cheers, Tom

  • 'Administration item could not be processed' error in Sales Contract

    Hello,
    When I try to create a sales contract in CRM 5.0, I get the following error message:
    Administration item could not be processed 46760D4DB17003F4E10000000A350350
    Message no. CRM_ORDERADM_I001
    Does anybody know how to solve this?
    Thanks,
    Jeroen

    Hi Jeroen,
    Pls check if you have implemented any exit.
    This could be when you try to access any item level data in exit(Badi's)
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Continue to get error message "backup could not be completed" after purchasing additional storage

    continue to get error message "backup could not be completed" after purchasing additional storage

    Just wanted to update the community on my exciting adventure to fix my ipad;
    I made my way over to the Apple Store here in South Florida and had my appointment with the geniuses. No one could figure this sucker out!  They did every thing they could think of to the ipad without success. Couldn't even tell me what the problem was. All were very nice about it, of course. I was told to wait a day while they contacted the great and powerful central genius(es) but apparently no one was home there since they never responded to the request for help.
    Anyway, I will go back to the Apple Store one more time before I give in to the conclusion that my 3 year old iPad (original) is DOA

  • Could not enumerate processes (1) error=-1073738819

    Hi guys,
    I have deployed a WAR file on to my managed server.
    While my managed server is up and running. and the application was deployed successfully and is in the active state, I am unable to test the application.
    When i try to test the client url of the application, it gives me a "FORBIDDEN 403.....you do not have permission to access" error.
    I checked the logs and this is what i got.
    [WARN ][osal ] Could not enumerate processes (1) error=-1073738819
    [WARN ][osal ] Could not add counter (null)\ for query
    [WARN ][osal ] Failed to init virtual size counter
    This is strange coz, I am able to deploy and test applications on other machines.
    When I did some googling around, I found out that...the issue might have occurred due to some oracle provider might be disabled.
    I followed this blog to change the setting. But did not resolved the issue.
    http://hirt.se/blog/?paged=2
    please help.
    Thanks,
    salil

    Any leads on this issue?
    thanks,
    salil

  • Error "Could not retrieve process instance" w UWL-GP thru Load Balancer

    Hi,
    We're using NW'04s EP SP14 for developing our portal website. An external load balancer balances the load between two portal instances CI & DI.
    We are getting an Exception "Could not retrieve process instance: contact your system administrator" when we try to access the UWL Requests through the Load Balancer though it is working fine with the direct HostName in the URL.
    SAP Note 1026119 did not solve the issue.
    Has anyone faced such an issue before?
    Thanks.

    Hi
    I am getting the same error, but when i tried to retrieve the process instance from nwa I see the process instance to be missing. I could not trace the process instance.
    Can you please tell me where else can i look for the process instance.
    Its very urgent
    Thanks and Regards
    Anitha

  • Request could not be processed due to error:

    Hello guys,
    i used to work on oracle 11g xe R2 with glassfish 3.1.1. apex 4.1 on win 2008 server . but recently i have to learn the multimedia features. so, i downloaded oracle Standard edition 11g R2.
    I installed it on the old installation of XE. in the installation I chose: the UPGRADE option.
    then I uninstalled glassfish 3.1 and installed Glassfish 3.2.
    When i tried to configure the listener, i get this error :
    Request could not be processed due to error:
    Bad Request
    The HTTP client sent a request that this server could not understand.I hope that you are able to help for all my apps on this database ..
    Regards,
    Fateh

    Hi Fateh,
    which port does your GF 3.2 use? Could it be you are (back) on port 8080 and your database upgrade also (re)enabled XDB HTTP server on that (default) port?
    -Udo

Maybe you are looking for

  • ThinkPad W530 Review

    Just wanted to give a heads up about a review of the W530 that's written by a user who owns the W520, so it's heavy on comparisons which is kind of helpful if you're familiar with that machine.  I'll quote the whole review below sans all the images t

  • Can I use my Imac as a monitor for my Macbook Air?

    Can I use my iMac as a monitor for my Macbook Air?

  • Value questions for SAP HR Reporting

    I am working as a "SAP HR Functional consultant". I am preparing Value Questions that can benefit End users with respect to SAP HR Reporting. Could you kindly help me by sending some questions [If you have any ] & Also tell me how to prepare them? <b

  • MMBE-i want display (1 box = 10 pc) in unit of measure

    Dear All, In MMBE t-code if we execute it,stock overview we can c as a report output.Displays Base unit of measure as(PC,EA....) here i want display (1 box = 10 pc) Which we ll give it while creating a material in mm01-purchasing. There is no exits f

  • Problem with fonts display in safari and mail ???

    hello ! sometimes i have problems with fonts display safari use a mathematics font instead of my preferences fonts i have to copy-paste in a text-editor to see the right font !!! i have the same problems sometimes in mail is anybody have infos about