Jürgen Ragaller schrieb:
> Hi
> 
> 
> I have to implement a rather complex contact form in lenya.
> It would be nice to benefit from the cocoon cform features (validation,
> i18n, flow, etc.).
> 
> The modules I looked at for inspiration were cforms (using cforms for a
> resource-type/usecase) and contactform (using jx/java without a cform).
> 
> I'm a still a bit confused here
> - The cforms module has a custom Flowscript featuring a customLoopFlow
> and a customSubmitFlow
> 
> Is it a customSubmitFlow I have to write in my case (and reqister the
> form Definition / Binding / View there)?

No idea, I guess Thorsten knows more.
Thorsten, is there already some documentation available about this feature?

> In the usecase framework docu I read that «Some special complex usecases
> might require a custom flowscript, in this case you can't use this
> framework». The customSubmitFlow mechanism seems to be an option to
> write a custom flow for a 2.0 usecase - or do I walk in the wrong
> direction?

The comment in the docs is older than the CForms module. Thorsten
enhanced the usecase framework to allow custom flowscripts.

> Thanks a lot for hints about the best practise to write a contact form
> module using a cform (if possible)!

Plain CForms are certainly a good start, I have no idea if the CForms
module is designed for this kind of application. Maybe Thorsten can tell
you more.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to