Hi,
Ok, i get it. The continuation must be called (and matched). That's what
i did.
Then it goes out from showForm (or sendPageAndWait) but whatever i write
after form.showForm(cocoon.parameters.show) (it cand be sendPage,
sendRedirectTo, or anything) i don't know why this URI is called :
"myApp/[object HTMLInputElement]"
Does anyone know what can cause this ?
André Davignon
Le 27/05/2008 21:46, > Dev at weitling (par Internet, dépôt
[EMAIL PROTECTED])
a écrit :
Hi André,
DAVIGNON Andre - CETE NP/DIODé/PANDOC wrote:
In 2.1.10, i'm working on a form with this flowscript :
var form = new Form(cocoon.parameters.form);
form.createBinding(cocoon.parameters.binding);
...
form.load(document);
form.showForm(cocoon.parameters.show);
cocoon.redirectTo(cocoon.parameters.redirect);
cocoon.sendPage is never executed unless i comment
FOM_Cocoon.suicide() in Form.js.
I get a good response (HTML of the right page, checked with Firebug)
but the browser doest not redirect to the desired page.
showForm() hibernates the flow execution, waiting for a continuation. As
long as you make a request in your browser (e.g. submit the form) and
the server doesn't continue the flow, you won't reach the redirect command.
Hope this helped,
Florian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]