Is that possible to use <map:when> in a <map:resource> ?i tried without success :
in this current resource ; i would like to add sometimes a third part.
<map:resource name="my_page">
<map:aggregate element="root" label="content">
<map:part src="cocoon:/index.xml"/>
<map:part src="cocoon:/{my_page}"/> </map:aggregate>
<map:transform src="stylesheets/main.xslt"/>
<map:serialize type="html"/>
</map:resource>
<map:resource name="my_page">
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{my_page_test}"/>
<map:when test="index.html">
<map:part src="cocoon:/blog_index.xml"/>
</map:when>
<map:when test="blog.html">
<map:aggregate element="root" label="content">
<map:part src="cocoon:/blog_index.xml"/>
<map:part src="cocoon:/{my_page}"/>
<map:part src="cocoon:/blog_news.xsp"/>
</map:aggregate>
</map:when>
<map:otherwise>
<map:aggregate element="root" label="content">
<map:part src="cocoon:/blog_index.xml"/>
<map:part src="cocoon:/{my_page}"/>
</map:aggregate>
</map:otherwise>
</map:select>
<map:transform src="stylesheets/main.xslt"/> <map:serialize type="html"/> </map:resource>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]