Hello

I'm making my first steps with cocoon 2.2 and have my first trouble.
I wanted to make some tests with cforms and cannot perform the styling 
transformation.

I've generated the webapp with the archetype, and startet from this skeleton, 
made an xsl to transform the forms. In this xsl I'd like to include the xsl 
from the forms-impl, so i do not need a copy of them in my project. The same 
with the js:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:include href="WHAT TO ENTER HERE?/forms-page-styling.xsl"/>
  <xsl:include href="WHAT TO ENTER HERE?/forms-advanced-field-styling.xsl"/>

  <xsl:param name="dojo-resources"/>
  <xsl:param name="forms-resources"/>

  ...

</xsl:stylesheet>

My pipeline: 

<map:match pattern="*.form">
   <map:aggregate element="document">
       <map:part src="cocoon:/menu/{1}"/>
       <map:part src="cocoon:/form/{1}"/>
   </map:aggregate>

   <map:call resource="layout-transform" />
   <map:transform type="forms"/>
   <map:transform src="stylesheets/forms-style.xsl">
     <map:parameter name="dojo-resources" value="WHAT TO ENTER HERE?" />
     <map:parameter name="forms-resources" value="WHAT TO ENTER HERE?" />
   </map:transform>
   <map:serialize type="html"/>
</map:match>

My Question is now, what I' have to write, where I' wrote "WHAT TO ENTER HERE". 
I've looked at the symples and found there Things like servlet:form:/... and in 
the application-context definitions of servlets as beans. But I don't have this 
beandefinition and cannot link this together.

Can you please help me?

Thanks, 

Mike 


____________________________________________
QuickLine WebMail - http://www.QuickLine.com

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

Reply via email to