Ok, thank you for the hint, felix.

I changed my project structure, I used the block archetype instead the webapp. 
Now the forms are running correct, and it's easy to develop with the rcl. But 
what about the deployment? I've tried the goal cocoon:deploy-war to create a 
deployable build and received an error that the web.xml cannot be found. Do I 
have to create one in /src/main/webapp/? Or is there another convention?

Regards

Mike


---------- Original Message ----------------------------------
From: Felix Knecht <[EMAIL PROTECTED]>
Reply-To: [email protected]
Date:  Thu, 05 Jul 2007 16:22:38 +0200

>Hi Mike
>
>It exists a migrationguide for forms (from C21 to C22). It helped me a
>lot and I'm sure it can help you also.
>Please have a look at
>http://cocoon.zones.apache.org/daisy/cdocs-forms/g1/1351.html.
>
>Regards
>Felix
>
>> 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]
>>
>>   
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
 


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

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

Reply via email to