SubmitForm calls the url multiple times

when I execute the following
function SendServer(){
this.submitForm({
cURL:"http://localhost:50676/aWeb/ProcessPDF.ashx",
bPDF: true});
from a form it performs several submits.
I'd like to have a
app.alert( "sent form....
SendServer();
app.alert("data sent to ....
but the allerts show before the form is ever sent and also execute multiple times

That's odd, and the oJavascript parameter wouldn't make any different here, even if you were submitting as FDF, which is the only time it's relevant.
As a test, set the cURL parameter to use a mailto type URL, something like:
mailto:[email protected]
Does it attempt to submit twice now?

Similar Messages

  • Calling stored procedure multiple times in the JDBC receiver

    Hi,
    I am calling the stored procedure(SP) to update a DB table in the JDBC receiver.
    SP has 10 input parameters, and SP can receive one value for each parameter at a time.
    In my case, i will have multiple rows to insert using SP.i.e multiple values for each parameter.
    Its working correctly for a single value for each parameter, but when i have multiple values i want to call the SP multiples times.
    Is this possible and how?
    Thanks,
    Varghese.

    Varghese,
    I think you can have multiple statements in the JDBC Adapter's XML, as in http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm.
    Here the StatementName1 node can be inserted into your JDBC XML as often as you want.
    Kind regards,
    Koen

  • Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same

    Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be

    Dear sir/madame,I have tried to use the inbrowser editing capability for Adobe Muse to login to my CMS. To login I have use the exact same FTP details I have used to upload my website, I even checked the page url multiple times but I keep getting the same error (the username and password are invalid for your FTP server. Please check them and try again). The hosting website (Yourhosting.nl) only has this one FTP user, which I cannot expand to more users. Can you please tell me if I am doing something wrong? The url to this page is http://e-divecollege.be/index.html or www.e-divecollege.be

  • Problem Calling a WebService multiple times

    Hi Guys,
    I am a relatively new user of DS 12.2 doing a proof-of-concept to call an in-house WebService for a batch of customer records - lets say 1000.
    The WS has an input schema where it's parameters are within a nested table such that it can be called for many customers in a single call if desired. WS input schema (made-up example)=
    -WS
    --$REQUEST_SCHEMA **added by DS on import
    ---CustVerification
    src_nr
    src_state
    I have successfully been able to create a Data-Flow that builds the input-schema such that 1 WS call is made with a nested input of all 1000 customers. This works and the output from the single call is correct (many records relating to the many inputs etc). Input schema =
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    Now the problem - I am wanting to do this flow so that it calls the WS once PER customer i.e. 1 entry in many of the nested CustVerification structures.
    I have, again, been able to produce the correct XML schema (at least it looks correct) which repeats the Input Schema for each customer record. HOWEVER, when hooking this up to the function call of the WS as before, I either get only 1 single call like before with the last entry in the file run through it..... or, after playing with the query's input schema to add an extra root level and changing FROM clauses to map to the function call schema I then get a huge ACCESS_VIOLATION dump which mentions "LoadDFXML::put_string()+2427 byte(s)" and other such XML-related but non-helpful messages.
    New input schema is:
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    So.... am I missing something simple in how I call a WS multiple times as opposed to once with multiple inputs? Could this be a setting/property somewhere? IS this linked with how I do a QueryTransform in a certain way to get the function called the right number of times? Anything else??
    Thanks for any advice/help.
    Flip.

    Thanks for the responses guys.... I actually got past the error with a change to the NRDM structure (as mentioned in the first reply, I think a small problem here really changes things).
    So - what I had to do to get this working properly was to add a new 'dummy' level into the structure - this kept it clean to denote that the 1 large bulk of messages were going to be sent through the WS many times. So - structure looks like this:
    Input_Query:
    - <ROOT>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    - <CustVerification>
    - <Details>
    <src_nr>1234<src_nr />
    <src_state>KY</src_state>
    </Details>
    </CustVerification>
    </ROOT>
    Then, in the Output schema for the function call, I had to create a dummy extra schema level also - say 'WS_Call', and put the function call within this structure. The FROM mapping has to be set so that both the input_query level AND the input_query.root level are mapped to the WS_Call schema.
    And then it works!
    Summary -- its a bugger.... but playing with the structure levels (and adding your own at times) and FROM clauses can work!
    Cheers,
    Flip.

  • My ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    my ipad2 is unable to find wireless network(s). while at home I am able to connect my MacBook and iPhone to network but am unable to connect iPad. I have restarted the device multiple times and even reset the network and all settings but still no luck

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • CDs with multiple artists are added to the library multiple times I want to be able to add the artwork to all.

    CDs with multiple artists are added to the library multiple times. Usually one has the artwork. I want to add the artwork to the others.  The instructions are inaccurate. I tried it several ways and it does not work.  How do I add the artwork shown on one of the albums to the other albums (same album, different artists)?

    Try Ethernet over Power adapters.. these are very popular for your kind of environment.. being able to make non-wireless link to another area where you can setup a wireless access point.
    Airport Express are not great for wireless power.. if you really have issues with wireless strength in a bad environment apple stuff is not the way to go.
    The comparison chart here.
    http://www.smallnetbuilder.com/lanwan/router-charts/bar/58-2_4-ghz-dn?see=P_F
    This is their worst test location you can also see averages.. the latest airport extreme.. is there a long way down.. and that is a much better wireless device than Airport Express.
    The Ubiquiti power AP is small cheap and designed for precisely this duty.. useless in an apple wireless network.. you will need to run ethernet or EOP adapters back to the main router.. but if the normal omni directional antennas don't provide enough signal you can get directional ones.. I suspect you can cover your whole apartment with a pair of these and high gain directional antenna.

  • Calling a vi multiple times makes the timer "crash"

    I use a subvi for writing data from a profibusnetwork. In this vi I can set a timer for the "update" to write away the data. I use a global variable to remember the last time the writing was done. The problem I encounter here is that when I use this subvi multiple times only the data I want updated fastest will be written away.. My question is: Is it possible to use just this one vi multiple times instead of renaming it for every datasource I want to write away?
    Thx in advance,

    Use a while loop with an uninitialised shift register instead of a global,
    and build it into a function marked "re-entrant". This way different data
    exists in each different copy of it in the code.
    henk007 wrote in message
    news:[email protected]..
    > I use a subvi for writing data from a profibusnetwork. In this vi I
    > can set a timer for the "update" to write away the data. I use a
    > global variable to remember the last time the writing was done. The
    > problem I encounter here is that when I use this subvi multiple times
    > only the data I want updated fastest will be written away.. My
    > question is: Is it possible to use just this one vi multiple times
    > instead of renaming it for every datasource I want to write away?

  • Calling a servlets multiple times from a servlet

    Hi All,
    Advanced Thanks,
    I have a servlet which calls another servlet to display some records. Second servlet will access some data from XML files and forwards to a JSP file. What i want is I need to call the second servlet multiple times from the the first servlet. I used RequestDispatcher to call the servlet but I can call only one time after a an exceptions is occurred like cannot forward after response is committed.
    I need this scenario in the saem way because each time second servlet is called I am forwarding response to user each time records are accessed based on the request value.
    request.getRequestDispatcher("sample").forward(request, response);          
    Any one please give me a suggestion?
    Thanks in advance

    What are those servlets supposed to do? Sounds like that they are doing too much, e.g. acting like business classes or utility classes or so. Refactor your code.

  • Rendered Property calling managed bean Multiple Times

    Hi
    We have a problem within a command button in a jspx, which includes a rendered tag which references a managed bean method via EL.
    e.g.
    rendered="#{PERUserInfo.trainee}"
    When I debug the jspx, the PERUserInfo.trainee method is called 4 times instead of once.
    We have noticed similar findings when using managed bean methods via the rendered property. i.e. calls getters multiple times.
    Any idea why this is happening?
    We are using JDeveloper v10.1.3, JHS v10.1.3 SU1.
    All comments appreciated.
    Cheers
    Denis

    Denis,
    There can be many reasons why your bean method is called multiple times; but I would consider this perfectly normal in any JSF application considering all the lifecycles and (possible) Partial Page Rendering that happens.
    The question is, by the way, more appropriate on the JDeveloper forum since it is not directly related to JHeadstart itself.
    Hope this helps,
    Evert-Jan de Bruin

  • How to show the region multiple times on the same page

    Hi,
    I have a PL/SQL Dynamic Content region which creates a report with custom layout using pl/sql web toolkit. The stored procedure takes the parameter and creates report. Can I display the same region multiple times by calling it from loop with different parameter each time ?
    Thank you,
    Asha

    Hello Asha,
    In your plsql you can do a loop, so you would only have one plsql region but in there that can generate different areas of your website.
    e.g. it can loop and generate different divs or tables.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

  • Calling same form multiple times

    Hi, i need to call a single form with different table names as parameters depending on conditions.
    for eg here is the approach
    if flag1_is_set
      call form1 multiple times with table1, table2....... as parameters
    "and i can avoid this
    "  form 1 using table 1
    "  form 1 using table 2
    "  form 1 using table 3
    "  form 1 using table 4
    "  form 1 using table 5
    elseif
      flag2_is_set
        form 1 using table 2
    elseif
      flag3_is_set
       form 1 using table 3.
    but i cannot call forms like this. can someone suggest
    an equivalent implementation on how to do this.
    if i dont implement in the above mentioned approach i have to code the same thing with minor changes multiple times
    thanks.
    your help would be appreciated.
    kranthi.

    You might try passing a field symbol (itab) in the tables.
    And assign the filed symbol with your itab as per the condition.
    Check if the program below gives you any idea.
    REPORT  Z_RAM_DYN_TAB_IN_FORM.
    PARAMETERS : P_TAB1 TYPE C.
    DATA: lt_users2 type standard table of usr02.
    DATA: lt_users1 type standard table of usr01.
    FIELD-SYMBOLS: <fs_itab> type standard table.
    SELECT * into table lt_users1 FROM usr01.
    SELECT * into table lt_users2 FROM usr02.
    IF P_TAB1 eq 'X'.
       ASSIGN lt_users1 to <fs_itab>.
    ELSE.
       ASSIGN lt_users2 to <fs_itab>.
    ENDIF.
    PERFORM test_form TABLES <fs_itab>.
    FORM test_form TABLES x_itab .
    FIELD-SYMBOLS: <fs_wa> type any.
    FIELD-SYMBOLS: <fs_field> type any.
      LOOP AT x_itab ASSIGNING <fs_wa>.
        DO 5 times.     "Write first 5 fields of itabs.
          ASSIGN COMPONENT sy-index OF STRUCTURE <fs_wa> to <fs_field>.
          WRITE :  <fs_field>.
        ENDDO.
        WRITE :/.
      ENDLOOP.
    Thanks,
    Ram
    Message was edited by: Ram Manohar Tiwari

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • My iPad has been disabled for more then 30 days. Apple is not solving this for me( 1 year warranty) . I also have reset the password multiple times, No Result. Who can help me?

    Fellow Apple users,
    Fantastic system, however on march eight I encountered that my apple ID has been Disabled.
    I have tried multiple times to reset the I'd , but with NO luck at all. With other words I can not buy new credits to buy products or music. This ought to be fixed first someone has told me.
    Now, I realize that my 90 day repair coverage has come an end too!!
    Apple is advising me to buy repair Aid kit.
    Who may inform me what to do.
    Do I have to make a complete NEW Apple ID and delete the existing one, is that possible?
    Kindly, I really would appreciate your comment about this hug problem!!
    Thanks for your time.
    Phil

    With the exception of you having a problem with your Apple ID, does your iPad work properly?

  • Speed up the URL and Time out

    I have a database of links I use a statment to read of them pass them to a URL and read the site to extract links from there, if it the URL is broken it takes me 10 minutes to go to the next one, I have 200 odd links any help as to speed this up...
    it took me a day to finish up the lins

    hey Spieler you said
    You could use multiple threads. This way you can still
    work on url's while one or the other thread is waiting
    for a respons
    regards
    Spielerhow do I go about that.
    can you mail me an answer
    I use
    Statment stmt = con.createStatment("SELECT * FROM LinkTable");
    ResultSet rs = stmt.executeQuery();
    while(rs.next())
    String str = rs.getString(2);
    URLConnection conn = new URL(str).openConnection();
    Reader rd = new InputStreamReader(conn.getInputStream());
    EditorKit kit = new HTMLEditorKit();
    Document doc = kit.createDefaultDocument();
    doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
    // Parse the HTML.
    kit.read(rd, doc, 0);
    // Iterate through the elements of the HTML document.
    ElementIterator it = new ElementIterator(doc);
    javax.swing.text.Element elem;
    while ((elem = it.next()) != null)
         int cnt = 0;
         st1 = new String();
                                  SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
    if (s != null)
    st1 = s.getAttribute(HTML.Attribute.HREF).toString();
    System.out.println(st1);

  • How to call BADI Triggering Multiple Times

    Hi ,
        I got one requirement of Duplicate check for that i implemeted one BADI  in that i called Duplicat check function Module also so when i entered first, last and email id it is giving the message as Data is saved. when i entered the same data is entered it gives the message as Account is Duplicate and it wont save at that time when i modified the data then it wants to save that means it wants to call the duplicate check badi once again but thing is it wont save again it is giving the message as duplicate so for each change the badi wants to trigger agin and again but it wont so how can i do this one pls tell me which badi is suitable
    Regards
    Ravi

    I think you can do it by using the same BADI. you can just create a static data to keep the first, last and email id. If the first, last and email id are the same skip the duplication check.
    for examples:
      Method badi.........
        STATICS static_name TYPE name VALUE 10.
        IF static_name is initial.
          static_name = im_name.
          perform duplicate_check.....
        ELSE.
          if static_name ne im_name.
            perform duplicate_check.....
          endif.
        ENDIF.
      Endmethod
    Cheers,
    Chaiphon

Maybe you are looking for

  • How do I install Mountain Lion - I have snow leopard ?

    I am completely confused I have Snow Leopard - Mac OS X 10.6.8  on my Macbook 7,1 I have XCode 3.2.3 Want to upgrade to Mountain Lion 10.8 Downloaded a huge dmg - about 1.7 GB from iOS Dev center ( am a registered user here after I paid USD 99 ) Clic

  • Webapp link on iOS 5 in safari not working

    Hi. I have build a webapp. With iOS 4 everything is fine, but with iOS 5 the HTML Link (href) is not working anymore. I touch it, but nothing happend. It is still an pur HTML Link <a href="URL" target="_blank">Text</a>, nothing else. It's a webapp wi

  • Help on Oracle 11gR2 (ver 11.2) installation requirement

    Dear Experts, I need help from you on Oracle DB11gR2 (ver 11.2) server installation in windows 7 32-bit architecture. I have downloaded Oracle 11gR2 DB (32-bit) from edelivery.oracle.com site. When the installtion is done i am getting below error, ca

  • Can we add new cubes and ODS after creating the multiprovider?

    Hi all, i created a multiprovider on a cube and ODS. Now i needed one more charactersitic from other cube.then i did change multiprovider and then add that new cube and did the identification, and adjusted the query, when i ran the query it is showin

  • Multiple itunes on ipad

    how can i set up my new ipad so that my kids can add apps without affecting my work iphone?