> Maybe I could use cforms instead of simple forms in my xsl.Is it
> possible to call a form template directly from xsl rather than having a
> sitemap entry for it or directly from my jx ?
I don't know exactly what you do in your main.xsl but if you really want to
keep this structure you have to generate your form document meaning that in
your xsl you simply generate whtever you want from your cforms definition.
And then you pass that newly generated file into a CForms generator.
> 
> I'm new in Cocoon and my approach may be wrong : I'm using an xsl to
> generate the site layout ; that xsl is linked to jx files with
> 
> <map:resources>
>     <map:resource name="html">
>       <map:transform src="stylesheet/main.xsl"/>
>       <map:serialize type="html"/>
>     </map:resource>
> </map:resources>
> 
> 
> <map:match pattern="static/*.jx">
>    <map:generate src="static/{1}.jx" type="jx" label="debug"/>
>    <map:call resource="html"/>
> </map:match>
> 
> my jx receives data from my js flow file and xsl draws the stuff ... Where
> to place cform definition ?
This is just an idea : 
you could put what you are doing (drawing) in main.xsl into a
myformtemplate.jx file and call your JX file directly from Flow  meaning
you would have saved one pipeline. the jx generator also does cforms
generating. Hope this was clear.

Tibor


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

Reply via email to