Good morning, Jörn!

Am 18.09.2007 um 08:49 schrieb Joern Nettingsmeier:

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.
I am interested in your comments / thoughts about this

just a shot in the dark: could it be that the dojo scripts are added to the body rather than the head?

It does not look like it - when I remove the xhtml2xhtml.xsl transformation step from usecasedocument/sitemap.xmap, the dojo scripts are in the head.


anyways, the current cforms module is a bit messy - it combines infrastructure code for cforms with an example doctype, and that is not a good idea. cforms support should be a generic module, and then there should be an extra resource type module that uses the generic one.

I thought I'd use the usecasedocument module as it is done in the contactform module. What I like about it is, that cocoon.xconf only has to be patched once for the usecase (no need for samples etc.). And such a usecasedocument can be moved in the site structure like any other resource type.

But the usecasedocument module sitemap unfortunately eats up the dojo scripts...


Thanks, Jörn!

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

Reply via email to