You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by DAVIGNON Andre - CETE NP/DIODé/PANDOC <An...@developpement-durable.gouv.fr> on 2008/06/10 11:33:32 UTC
Re: redirectTo not executed
Hi,
Answering to myself, if it can help...
In my form i had an input with name="action". So CFormsForm.js couldn't
retrieve form.action and returned [object HTMLInputElement].
It seems it made a mistake between the form's "action" attribute and the
input named "action".
Renaming the input name="act" solved the problem. Many thanks to Johan
Cwiklinski
Cheers.
André Davignon
Le 29/05/2008 14:28, > DAVIGNON Andre - CETE NP/DIODé/PANDOC (par
Internet, dépôt
users-return-95139-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org)
a écrit :
> 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 ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
RE: redirectTo not executed
Posted by Jeroen Reijn <j....@onehippo.com>.
Hi André,
Thanks for sharing this information. It will help other users with finding a solution to their problem.
Regards,
Jeroen
-----Original Message-----
From: "DAVIGNON Andre - CETE NP/DIODé/PANDOC" [mailto:Andre.Davignon@developpement-durable.gouv.fr]
Sent: Tuesday, June 10, 2008 11:34 AM
To: users@cocoon.apache.org
Subject: Re: redirectTo not executed
Hi,
Answering to myself, if it can help...
In my form i had an input with name="action". So CFormsForm.js couldn't
retrieve form.action and returned [object HTMLInputElement].
It seems it made a mistake between the form's "action" attribute and the
input named "action".
Renaming the input name="act" solved the problem. Many thanks to Johan
Cwiklinski
Cheers.
André Davignon
Le 29/05/2008 14:28, > DAVIGNON Andre - CETE NP/DIODé/PANDOC (par
Internet, dépôt
users-return-95139-andre.davignon=developpement-durable.gouv.fr@cocoon.apache.org)
a écrit :
> 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 ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org