Need to display processing icon on click of submit button

Hi all,
I need to display a processing message like "Please wait....Request being processed" whenever the user clicks on submit button.There is a PL/SQL process which inserts data into the database on click of submit button.As this insertion would take time, I need to display a processing message as mentioned earlier.
My approach was to create a javascript function and call it from the URL redirect section . when this option is selected,the processing message is displayed..but the PL/SQL process is not executed as the URL is redirected...
Any help would be greatly appreciated....
Thanks
nashy

To some degree, it will depend on just how long you think the process will take to run. If you think it's going to take several minutes (thus risking your page timing out), an approach I have taken is to run a process on submit which kicks off an oracle job (do a search for DBMS_SCHEDULER if this doesn't mean anything to you) thereafter, periodically repoll the page - you could go for a javascript method if you don't want to keep re-submitting the page - which checks to see if the job has completed.
Once the job completes, you just show the data (or do whatever you need to do to indicate completion to the user).
It does require a fair bit of conditional display and process control to pull off, but it is achievable.

Similar Messages

  • How to prevent multiple clicks of submit buttons in OAF Pages

    Hi All,
    Our page takes around 30 seconds to 1 minute for processing.
    Some users are not patient enough. I have tried putting the below code in my PR method.
    OAWebBean body = pageContext.getRootWebBean();
        if (body instanceof OABodyBean)
        ((OABodyBean)body).setBlockOnEverySubmit(true);
    This code disables submit button for some time. After few seconds, the submit button can be clicked again by the user.
    Also, if I click on other browser window and come back to OAF page, the submit button can be clicked again immediately.
    Have also searched OAF forum but didn't find any satisfactory answer.
    Need answer from Oracle on this. If not answered on the forum, will raise an SR.

    Hi Amit,
    Try using the Processing Symbol , after clicking the Submit button. Which does shows you processing clock symbol once you click Submit Button.
    Regards
    Raghu

  • I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button. Can anyone suggest.

    I need to throw an error message if the terms&conditions checkbox is not checked on click of Submit Button in webdynpro java. Can anyone suggest.

    My Apologies. The simplest way- write the following code in the action of the Submit button-
    if (<check box not checked>)
    wdComponentAPI.getMessageManager().reportException("Please accept Terms and Conditions to continue",false);
    else
         continueExecution();
    The exception message will be shown on top of the view.
    You may like to use Message Area UI element and place it at the bottom of the WD4J view to show our exception message at the bottom of the view.
    I hope this helps !
    Cheers,
    -Amol Gupta

  • How to set the time in messageTextInut when i am click the submit button

    Hi
    In my form one messageTextInput field and submit button .when i am click the submit button the time (continuously)display in messageTextInput field.so plz tell me the process.

    You can associate a VO Attribute to the textinput field and set its value when the Submit button gets clicked. Thereafter you can renavigate to the same page.

  • Updation of Ztable clicking on submit button in adobe interactive forms

    Hi all,
    In my adobe interactive form i have student details and one SUBMIT BUTTON.After clicking on that button i need to update the details in my Ztable. How Can I do?Where Can I write the code?
    Please reply me.
    Thanks in advance.

    Hi, I'm afraid I think there is no place where you can "catch" click on button in interactive form in sapgui, but you can:
    use http submit button and send data to your web service, which receive dataa and update your ztable,
    or you can create webdynpro, where you can catch click on submit button a in this event you can update yout ztable (my previous post).
    Please remember, that you can run your webdynpro application in sapgui:
    REPORT  DEMO_START_WD_IN_PLACE1 MESSAGE-ID SWDP_RUNTIME.
    start-of-selection.
      CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
        EXPORTING
         PROTOCOL               = 'HTTP'       " HTTP | HTTPS
        INTERNALMODE           = 'X'    "SPACE - browser is started
        PARAMETERS             =
          APPLICATION            = 'your_webdynpro_application
         CONTAINER_NAME         = 'SAP Formuláře'
        EXCEPTIONS
          INVALID_APPLICATION    = 1
          BROWSER_NOT_STARTED    = 2
          OTHERS                 = 3.
      IF sy-subrc EQ 1.
        MESSAGE a400.
      ELSEIF sy-subrc = 2.
        MESSAGE a401.
      ELSEIF sy-subrc = 3.
        MESSAGE a667.
      ENDIF.

  • On click of Submit button, i want to forward to another mxml page and also pass the paramaters to it

    Hi,
    How can forward/load a new page in Flex 4.?
    On click of Submit button, i want to forward/load to another mxml page and also pass the paramaters to it.
    How can i do it.
    Thanks,

    Checkout popupmanager and public variables

  • To display region on a click of a button

    hi,
    I want to display a region on a click of a button which is in another region.I want when i click that button region containing button should get disappear and another region should get appear.when next time i open that page
    region containing button should appear first.
    second, i want to insert a check constraint on a field called mailid,that at time of inserting data in it ,it should contain '@'sign,if not a message should get displayed.
    pls can u help in out.

    Mak,
    To show and hide your regions, you need to use conditions, please review the following section in the HTML DB documentation for information on how to do work with conditions:
    http://download-west.oracle.com/docs/cd/B12037_01/appdev.101/b10992/mvl_a_con.htm#sthref1724
    To validate your mail ID you could work with database constraints. However in order to customize your error message, I'd recommend using HTML DB validations, see the HTML DB documentation, chapter 7 for more information on how to work with validations:
    http://download-west.oracle.com/docs/cd/B12037_01/appdev.101/b10992/mvl_buildr.htm#sthref938
    Regards,
    Marc

  • Display the fullname without clicking on the button in this tutorial

    Hello,
    I am referring to this tutorial : Zeeshan Baig's Blog: Calling PL/SQL Procedure and Function in Oracle ADF application
    1) I would like the fullname to be displayed automatically after the employee id is input ,without having to click the getEmpFullName button.
    2) I would like to copy the fullname value to an entity attribute and save in db .
    Is that possible please ? Thanks.

    Thanks  931325 , I want to use the tutorial link that you sent me .
    Step1 : Define the application module method in respective page definition as shown in below screen shot 
    Step2: Write the below code in backing bean to invoke application module method
    Note : I have done step 1 , my method is already in page definition. How do you implement step 2 . 
    public void ot2_attributeChangeListener(AttributeChangeEvent attributeChangeEvent) {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    ValueExpression valueExp =
    elFactory.createValueExpression(elContext, "#{bindings}", Object.class);
    BindingContainer binding= (BindingContainer)valueExp.getValue(elContext);
    OperationBinding operationBinding=binding.getOperationBinding("createCurrentCustomerRow");
    // Set the Input parameters to the operation bindings as below
    operationBinding.getParamsMap().put("pCustomerID", "100"); 
    // Invoke the Application module method
    operationBinding.execute();
    // Get the result from operation bindings
    Object obj =operationBinding.getResult()
    Thanks

  • Loading and displaying other  form on click of a button using swing

    hi,
    i've just started with my first ever swing program. i want to load another UI form on click of a button . how can i do that.

    Sorry for posting last message
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class MainCl extends JFrame
    public MainCl()
    this.setBounds(100,100,400,300);
    btn = new JButton("Click me to show another fframe");
    btn.setBounds(10, 20, 250, 30);
    this.getContentPane().setLauout(null)
    this.getContentPane().add(btn);
    btn..addActionListener(new ActionListener()
    JFrame frm2 = new SecondFrame();
    frm2.setVisible(true);
    public static void main(String [] args)
    JFrame frm1 = new MainCl();
    frm1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frm1.setVisible(true);
    JButton btn;
    class SecondFrame extends JFrame
    public SecondFrame()
    this.setBounds(200,200,200,100)
    this.getContentPane().add(new JLabel("This is NEW FORM"));
    }

  • Adobe form with Webdynpro - Form is hanging on click of Submit button

    Hello Experts,
    My View has an adobe form that has many dropdowns and input fields. There are some fields which get automatically populated based on entries made by the users. There are several internal tables getting populated in the WDDOINIT method. I have a 'Submit Button' which when clicked should close the browser, retrieve data in the Context and do processing in SAP.
    When I click on the submit button, I get a 'Wait' symbol (the circle symbol) for a very long time and then the Connection time out error comes up.
    I commented the population of some internal tables in the 'Init' method. when I tested by clicking this button, it worked. The browser got closed and processing in SAP was done too.
    I am working with a fairly large data. 2-3 of the internal tables (that I commented) have 2000-3000 records. Is there is restriction on how much data the WDN can handle? I am stuck now because even though all codes are correct, the wdn is not able to handle the data.
    Any suggestions ?
    appreciate all your help! Regards, Liz

    This issue is resolved. This was due to loading a large data set to the form.

  • When a website launches a new window to enter information, Firefox no longer automatically closes the window when you click the submit button. Why?

    For example, when I create a message in my autoresponder service and want to attach an image a new window opens up so I can enter the details of the image (url, position, alt text). When I click the Save button, the information is captured but the window remains open and I have to manually close it.
    Firefox used to close the window automatically.

    YES!! Thank you jscher2000! You sir are a legend. Thanks for this, changed the newtaburl in about:config, totally worked. Nope, never saw it happening! Speedy machine this one :P Yep, that change completely sorted the issue, just opened about 741 new tabs through the shortcut on my mouse just to celebrate. Thanks guys who helped, no thanks those who didn't.

  • Process without an Enter or Submit button?

    This is something I've now tried for several weeks. I know it can be done because I see the swf files but after an all nighter and this being the third time that I've revisited this figure it's about time to ask the pro's.
    How does one have calculations or conversions happen instantly as values are entered? No submit button, no enter, just as they type. So if they entered 1 in input box one then obviously nothing will happen but uppon entering data in the second I want the results text field to display the answer. So basically an eventlistener but not listening to a button but rather the input text field.
    Here's an example of that being done. I would love to be able to peak inside this swf to see what this person did.
    http://dantrix.net/my_Files/Converter/currencyConverter.swf

    just use:
    text1.addEventListener(Event.CHANGE,fCalculate);

  • I keep getting a pop up that says I need to update, but when I click on the button it simply continues to load saying, "conecting to the update server" What is the deal?

    There is also a "Hide" button at the bottom, but if I click that the window disappears. I have tried leaving it open, but nothing happens.

    had a lot of trouble with this too. I had tried everything, from the internet time zone changing, restarting computers, physical time zone changing, firewalls, all that, and nothing worked.
    but i just tried this and it worked.
    1. in iTunes, go to Store, then go to authorize computer
    2. sign in with your AppleID, and authorize your computer to purchase iTunes stuff.
    that's it.
    I scoured the internet and found nothing that said that had that as a solution.
    hope it helps

  • How do you make a movieclip display and play when click on a button

    I'm looking to have a movie clip pop up, play itself after a user clicks on a flash navigation button.
    (something like this???)
    message_btn.addEventListener(MouseEvent.CLICK, goMessage1);
    function goMessage1(evt:MouseEvent):void
        ???(play message movie clip here)???;

    How you code that depends a bit on how you design the movieclip.  You could make the movieclip have an empty first frame that it is stop()-ed at, and tell it to play() in the event handler function.  Or you could have the movie's visible property  initially set to false and stop()-ed at frame 1 and have the event handler set the visible property to true and tell the movieclip to play();
    The key is to have a plan where the movieclip is waiting to play and has an instance name assigned to it that you can use to command it to play when you want it to.

  • I cannot compress my video in compressor. everything  was alright until I clicked the submit button. I received a dialogue box asking for the following: Name; Cluster and Priority.I cannot click the submit button. Thanks

    Help

    Hi Bill, again just trawling these forums in search of another prolem solution and ran over your post. I'm not sure if every problem reported in these forums requires removing the app's preferences or running a third party product that does it as well.. Sometimes it will work. Usually there's a process somewhere in Compressor or its subcomponents used in the OS that need to kicked in the arse or terminated and restarted or is handed a flawed structure it can't handle entirely and fails.
    These failures are sometime echoed in /var/logs/folder/... or ~/Library/Logs/"this_application's.log" or ~/Library/LogsDiagnosticReports/"this_application's" dump. Yep u can view these with the /Applications/Utilities/Console.app or jump in to Qmaster through the Share Monitor.app as well.
    Anyway not all these events get logged so sometimes it's difficult to know where to look especially with compressor and qmaster. Qmaster has its logs also in a temproary place then then are magically moved to /var/logs.
    A good practice is to see if you can determine one of these flaws before getting the chainsaw and axe out for a "hack and bash session". Chances are you will have this again.
    Elsewhere in these Apple Support forums and on the creativecow forums is a wealth of knowledge on compressor or Qmaster and other products. Always worth a simple Google search
    Now, I'd propose that is likely that the current structure used by compressor and qmaster are in a less than optimum state!. Most of these are rebuilt if they are removed. All except the SETTINGS and LAYOUTS. So if you have any of your own settings, layouts or destinations and you dont want to lose them, go and make a second instance of these else where of fetch and reinstate them from Timemachine.app once you have restarted everthing after some suggestion I'm going to propose to you shortly.
    The probable sources of state information may be deleted and Compressor and Qmaster can be started again. However before embarking on this easy walkthrough ......
    Step 1: Stop Apple Qmaster your current host. (Compressor.app/Application Menu Apple Qmaster/Share This Computer / Setup tab/ and untick "Share This Computer").
    count to 10 slowly and all the compressord tasks will stop. Qmasterd is still active...thats cool.
    Step 2: QUIT Compressor.app on your current host.
    Step 3: Make a second instance of your Compressor.app Settings , Destinations and Layouts: As stated a tonne of time in so many threads , that in Compressor 4, these structures for Qmaster and some of Compressors have been moved into the users home domain (i.e. ~/) in the ~/Library/Application Support/Compressor/Settings and ~/Library/Application Support/Compressor/Layouts directories. If you dont have any then move to the next step....
    THerefore simply DUPLICATE or COPY them to another place such as your ~/Desktop. U can use the FINDER or simple unix cli commands such as:
    cp -Rv ~/Library/Application\ Support/Compressor/Settings ~/Desktop
    cp -Rv ~/Library/Application\ Support/Compressor/Layouts ~/Desktop
    Step 4: remove | purge | delete compressors Lion/ML saved state.... ~/Library/Saved Application State/com.apple.Compressor.savedState
    You can also remove the the saved state entry for Compressor.app so tha you wont be bothered with it trying to resstablish where it was when it failed or you last quit it.
    rm ~/Library/Saved\ Application\ State/com.apple.Compressor.savedState or just selct and +del it in the trash (hold the OPTION key and select the Finder GO menu to access your homes ~/Library/)
    After doing  this you can basically destroy | delete | purge | remove your ~/Library/Application Support/Compressor and also your ~/Library/Application Support/Apple Qmaster directories
    OK if you're up to it I will refer you to a post where this procedure is comprehensivley detailed. I'm fairly certain that when you follow this procedure and remove these compressor and Qmaster structure and restart then re-set up any clusters and networking, tha compressor will work amazingly well again.... probably like it used to.
    Step 5: click over to ths apple forum post and follow the steps in there. No need to duplicate its contents here. The link is at https://discussions.apple.com/message/17356372#17356372%2317356372
    Step n: well if you have returned to here hopefully compressor V4..app with Qmaster is running and its like brand new. 9 of 10 times this is the case.
    Basically you have purged your current folders:
    ~/Library/Application Support/Compressor and
    ~/Library/Application Support/Apple Qmaster
    Now a few more things to consider as mentioned in the post at https://discussions.apple.com/message/17356372#17356372%2317356372 is not to be too impatient. THese compressor and qmaster components take a little time to communicate and ready themselves. You will be able to see this via teh activity monitor.app and also right-gear-down on the compressor.app icon n the dock. Look for SERVICES. If you only have one, add some more in the qmaster prefs.
    ALso make sure you c=can use Compressor.app / File /Mount Cluster Storage and tha you get a voluem for your cluster apearing in the list box.
    No volume then qmaster is not set up.
    You may have to do all the above again.
    Lastly, the NETWORK settings used between hosts for Qmaster are often a point of noise and frustration. If u can disable your network  just to get compressor/qmaster going on a single host. Often  the comms causes a great deal of "waiting"scenarios in Compressor. U can see these in the Share Monitor.app.
    Please report back you progress so tha others my benefit..
    HTH
    warwick

Maybe you are looking for

  • Printer Control App for iPad

    I use the above app mainly for scanning straight to my iPad and it is very good at that. I have one niggle in that I have to set the page size for each page I scan. Being a UK user A4 is the main paper size in use rather than US size. If we could set

  • How to Change Open Item Management Field in GL Master Record

    Hi, How to change the field Open Item Management becz eventhough I tried through in norrmal way of making it that GL balance to 0 and made the change after that it not allowing to save and throwing the following errors, Account Balance = 0 but open i

  • I need to get rid of a 20 pixel area of white space that appears on Internet Explorer (see pic)

    Hi I get a 20 px high zone of white space below my animation stage on internet explorer. (see the image below). Using Dreamweaver I have inserted the .oam inside a conataing div which is set to the exact size of the stage but this area still appears

  • The ipod "Ipod" could not be restored. An uknown error occurred (6)

    I am trying to restore my ipod touch, but everytime i try it says an error occurred. I've gotten error 6, 2003, 2, 3 etc. All i wanna do is be able to use my touch again. I need help Plz. It has been like this for days. I have tried looking on the fo

  • My iphone 5's top button problem

    My iphone 5's top button which i used for key lock is doesn't work. i live in İstanbul in Turkey. ı called apple store which name is Zorlu Apple center, about this buttom problem, they couldn't help me because of my iphone seen ABD. Can you help me.