Dear all,

my task is to include a user registration form in my Lenya publication. Instead 
of creating an new Lenya HTML document and Cocoon Action-classes for checking 
the database I want to use CForms with the advantage of validation etc.

If followed the instructions (registration sample) in
[1] http://cocoon.apache.org/2.1/userdocs/basics/sample.html
and
[2] http://wiki.apache.org/lenya/HowToCFormsInLenya.

The CForm registration template/definition/JS/JX/XSLT files are stored directly 
in the directory of my publication. I included a link in one of my Lenya sites 
in the following way:
http://localhost:7080/lenya/mypub/registration. The CForms site works fine 
after a match in my pipeline. But I am not able to include the CForms form in 
the content area of my publication. The CForms form appears takes the whole 
page.
The whole page is rendered using the XSLT stylesheet page2xhtml.xsl. 
page2xhtml.xsl included the Lenya content documents using
<xsl:apply-templates select="xhtml:[EMAIL PROTECTED] = 'body']" />.
The Lenya documents are rendered using xhtml2xhtml.xsl.
The registration pipeline is similar to the sample pipeline [1] and [2].

How can I render my CForms form inside the content area? Copying the CForms 
template file in a newly created Lenya document was not a solution. 
Furthermore, [2] says that Continuations (started by the OK button of my form) 
are never linked back to my sitetree. Is there still a solution?

Thanks + Best regards,

Lars Geldner
-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail

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

Reply via email to