Мария Григорьева wrote:
<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 part! (The part <map:part
src="index.xml"/> from the sitemap)
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!!!
It looks like your route takes you through two separate stylesheets
(styles/main.xsl and styles/input-forms.xsl). Is it possible both these
stylesheets add a header? Or perhaps, index.xml contains a header?
Without more info it's difficult to tell.
Regards,
David Legg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]