You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Lundquist <ml...@wrinkledog.com> on 2004/02/10 09:22:39 UTC
Re: Multiple forms on a page
On Jan 9, 2004, at 6:55 AM, Alex Romayev wrote:
> I have a page with 3 forms. I have implemented each
> form separately and combined the result in one page
> using map:aggregate.
>
> -Alex
Hi Alex,
Can you explain how you get this to work with flow? The flowscript for
each form is going to post its own continuation. When the user submits
the form, if it doesn't validate then showForm() will call
cocoon.sendPageAndWait() again. That invokes your display pipeline
(the one with the WoodyTemplateTransformer), but this invocation of the
pipeline is no longer upstream of your aggregating pipeline, its
"standalone"... so, the external request will be answered with the
output of the display pipeline, not the aggregating pipeline.
In other words, you'll get just the form, not the whole page.
So — what's the secret? :-)
~ml
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org