Hi everyone
I would like to have a map:select (Request parameter selector) inside my
aggregation section , is this possible in some way ?
I manage to put it outside but offcourse this makes me duplicate a bunch of
map:parts that are common to all the selections.
This would really clean up my code, any ideas ?
Thanks for the thoughts
Tibor
This is what I have
*******************
<map:match pattern="mypipe/*">
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{1}"/>
<map:when test="europe">
<map:aggregate element="lists">
<map:part src="cocoon:/listdata"/>
<map:part src="some.xml"/>
<map:part src="europe.xml"/>
</map:aggregate>
</map:when>
<map:when test="region">
<map:aggregate element="lists">
<map:part src="cocoon:/listdata"/>
<map:part src="some.xml"/>
<map:part src="region.xml"/>
</map:aggregate>
</map:when>
<map:otherwise>
<map:aggregate element="lists">
<map:part src="cocoon:/listdata"/>
<map:part src="some.xml"/>
<map:part src="all.xml"/>
</map:aggregate>
</map:otherwise>
</map:select>
This is what I would love :)
******************************
<map:match pattern="mypipe/*">
<map:aggregate element="lists">
<map:part src="cocoon:/listdata"/>
<map:part src="some.xml"/>
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{1}"/>
<map:when test="europe">
<map:part src="europe.xml"/>
</map:when>
<map:when test="region">
<map:part src="region.xml"/>
</map:when>
<map:otherwise>
<map:part src="all.xml"/>
</map:otherwise>
</map:select>
</map:aggregate>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]