Am 18.09.2007 um 08:30 schrieb Thorsten Scherler:

On Mon, 2007-09-17 at 22:38 +0200, Jürgen Ragaller wrote:
Am Sep 17, 2007 um 20:43 schrieb Jürgen Ragaller:


The next thing to find out is how to get the dojo javascript stuff
and cocoon form css in the html head...


Here is what I found out about the above problem:

In usecasedocument/sitemap.xmap the transformation forms-samples-
styling.xsl inserts the dojo scripts but after the xhtml2xhtml.xsl
transformation the scripts are gone (eaten up).

When the page is called using the lenya.usecase GET parameter, the
pipeline usecase/usecase.xmap is called and the scripts are inserted
correctly.

So we must find out which code in the usecase.xmap is responsible for
the correct behavior and fix the eat up.

It is not usecase/usecase.xmap causing the trouble.

I wanted to get a cform in a usecasedocument.

Here is what I did:

The «usecase document» was created using the following get parameters:
usecase=myusecase.event&lenya.usecase=usecasedocument.create
(as it is done in contactform)

When it is called (using it't normal url e.g. form.html), the following
sitemap is handles the cform:
usecasedocument/sitemap.xmap (that sitemap eats up the dojo scripts)

The reason I took that approach is, that I need to have the form rendered
as a lenya document and I got inspiration von contactform.



I guess we just need to add a xsl:template to match custom "pass on"
code.

Can you point out the difference since it has been a while when I last
played with cforms.

See above

Please let me know if I'm approaching things the wrong way...
The goal is to have a cform for a complex user contact form.


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

Reply via email to