Grzegorz Kossakowski a écrit :
Sébastien Geindre pisze:
Grzegorz Kossakowski a écrit :
I 've found this dependency
<dependency>
<groupId>org.apache.cocoon</groupId>
<artifactId>cocoon-forms-impl</artifactId>
<version>1.0.0-M3</version>
</dependency>
is it the right one ?
Yes.
OK ! Excellent !
Next question...
I use forms-samples-styling.xsl for transforming my Forms into HTML
code , so i do need the newer version of forms-samples-styling.xsl.
But where can i get it ?
through
<map:transform
src="servlet:forms:/resource/internal/xsl/forms-samples-styling.xsl">
<map:parameter name="forms-resources"
value="{servlet:forms:/resource/external/forms}"/>
</map:transform>
but it do not exist : An Error Occurred
org.apache.cocoon.ProcessingException
resource://org/apache/cocoon/forms/resources/forms-samples-styling.xsl
org.apache.cocoon.ProcessingException: Unable to get transformer
handler for
servlet:forms:/resource/internal/xsl/forms-samples-styling.xsl
As the name implies you should search for this file in
cocoon-forms-sample module:
https://svn.apache.org/repos/asf/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/resources/forms-samples-styling.xsl
Merci...
I suggest that you copy and rename this file (to e.g.
forms-styling.xsl) and store in your block. This stylesheet just
imports other ones (from cocoon-forms-impl) so you don't have be
worried that you will have any problems while upgrading.
I hope that you have already seen this document:
http://cocoon.zones.apache.org/dev-docs/2.2/blocks/forms/1.0/1351_1_1.html
Yes, i am on the green one...
http://cocoon.zones.apache.org/daisy/cdocs/g1/g2/g7/1351.html
--
Sébastien Geindre
DPREVI/AERO/DEV
sebastien.geindre __at__ meteo.fr
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]