You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Victor Oomens <vi...@oomens-ict.nl> on 2008/03/04 11:51:12 UTC

AJAX forms: returning to previous page after submit using Apples

Dear all,

 

I'm struggling for some time now with the following:

 

How can I return to another page after a user completes an ajax form? I'm
using Apples as flow.

 

I know that when using flowscript, the showForm function displays the form
and waits for completion. Is there some way to do this in Apples?

 

Hope someone can help me on this. Cocoon 2.1.11.

 

Kind regards,

 

Victor Oomens


Re: AJAX forms: returning to previous page after submit using Apples

Posted by Tobia Conforto <to...@linux.it>.
Victor Oomens wrote:
> How can I return to another page after a user completes an ajax form?

Put a cocoon.redirectTo(...) after your showForm

See http://cocoon.apache.org/2.1/userdocs/flow/api.html


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org