Jürgen Ragaller wrote:

I managed to setup a cform, writing a customLoopFlow - the validation is working. But the working cform has the design of the login screen (no tabs menu etc.).

To get the cform displayed inside a lenya page envelope I created a usecase document using the uri: usecase=mymodulename.event&lenya.usecase=usecasedocument.create
(as it is done in the contactform module).

i guess you wrote a custom module for your usecase?
if so, it's probably more effective to implement a lenya page "view" locally and not delegate to usecasedocument. all you need to do is have the publication render the page and then sneak in your extra content (check out the tinymce module sitemap, it uses the same approach). that way, you don't have to pile usecases on top of each other, and it's probably faster.

--
Jörn Nettingsmeier

"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.

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

Reply via email to