[daisy] Embedding forms in Daisy HTML parts ?
Bruno Dumon
bruno at outerthought.org
Tue Jul 25 04:50:25 CDT 2006
On Mon, 2006-07-24 at 17:52 +0100, Mark H wrote:
> I'm trying to embed a form in a Daisy HTML part like this:
>
> INCLUDE: cocoon://main/ext/contactus.form
>
> I have my own form pipeline in my site's cocoon directory. The problem is I
> don't know how to deal with the validation stage. At the moment I'm using
> continuations but that just shows the form on its own when showing
> validation errors. Anybody managed to do it? At the moment I can't get my
> head around it, I probably need to think about it more.
This approach would somehow require the document URL to play proxy to
forward submits to your form, which is not possible and rather complex
(basically portal-like behaviour).
If you want to have a form completely styled like the rest of the Wiki,
together with navigation tree and all, then have a look at the guestbook
sample which does just that.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
More information about the daisy
mailing list