I finally succeeded in adding forms and portal blocks in my webapp, but the behavior is not homogeneous.

For example, when adding cocoon-forms-sample, I can access it to :8888/cocoon-forms-sample. But, when adding cocoon-portal-sample, I can't access it the same way (:8888/cocoon-portal-sample). I neet to use a pipeline like the one in cocoon-webapp/.../samples/sitemap.xmap, I mean :

     <map:match pattern="cocoon-portal-sample/**">
<map:mount uri-prefix="cocoon-portal-sample" src="blockcontext:/cocoon-portal-sample/"/>
     </map:match>

The other problem is related to dojo-resources param that seems to be absent from the forms-field-styling.xsl. Maybe it is provided through a use-request-parameters alike ? Anyway, by just adding the <xsl:param name="dojo-resource" select="'resource/external/dojo/'"/>, it works again.

Finally, does anybody know why this different behavior occurs ?

JC

Reinhard Poetz a écrit :
Jean-Christophe Kermagoret wrote:
Hi,
I want to use RCL because I need to make modifications in CForms block. And RCL seems the good way to do it.

Maybe I'm wrong ?

No, I don't think so. Unfortunatly I haven't had time to try it myself yet but I will give it a shot myself this week.

Here two hints, what _could_ be wrong with your configuration:

 - the block name must be the name of the forms-samples block
 - add the forms-samples block to the dependencies section of your custom
   block before you run "mvn cocoon:rcl"



--
Jean-Christophe Kermagoret
Technological leader
OpenBlueLab : http://www.openbluelab.org

Reply via email to