You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Мария Григорьева <ma...@gmail.com> on 2008/08/31 11:29:06 UTC

cforms + javaflow + sitemap problem

Hello, dear mailing-list!!! 

 

Help please to solve the problem:

 

Sitemap:

 

<map:match pattern="*/*">

        <map:aggregate element="content">

                <map:part src="index.xml"/>

                <map:part src="cocoon:/main/{1}/{2}" element="main"/>

       </map:aggregate>

      <map:transform src="styles/main.xsl"/>

      <map:serialize type="html"/>

</map:match>

::..

<map:match pattern="main/experiments/*.do">

      <map:call function="{1}"/>

 </map:match>

 

 <map:match pattern="main/form-template/*">

     <map:generate type="jx" src="form-template/{1}.xml"/>

     <map:transform src="styles/input-forms.xsl"/>

     <map:serialize/>

</map:match>

::::::::..

 

In my flowscript : 

 

sendPage("form-template/experiment-template", new VarMap().add("experiment",
results));

 

But at the output  - I have double-header! 

Here the result!!!

 

 



 

 

I've have had this problem with the flowscript with the redirect function.

So, I decide it with the help of param "false"   --- redirect("url", false);

 

Help please!!!