Threaded View

  1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    37
    Vote Rating
    1
    jsalisbury is on a distinguished road

      0  

    Default Submit form to new window (using standardSubmit: true)

    Submit form to new window (using standardSubmit: true)


    I'd like to POST a form directly to a php script on the server, so I'm using
    "standardSubmit: true".
    So far so good.

    But I'd also like to see the response in a new browser window.
    How do I do this ? I've seen a number of recipes which were written for Extjs 3.x but clearly dont work in 4.+

    I've tried to add a 'target' parameter or even baseParameter either to the form or as argument to the submit, but to no avail.

    Has anyone got an example that works with Extjs 4.0 ?

    OK no replies. This usually means I'm asking the wrong question, so can I ask:

    Does anyone have a working example of a form submission using a standardSubmit that opens a new window, i.e. 'target = _blank', (Extjs 3.0 or 4.0) .
    Last edited by jsalisbury; 25 Oct 2011 at 1:13 AM. Reason: Widen the audience!