FYI:
Following works in the sitemap.
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{flow-attribute:flowRequest/ver}"/>
<map:when test="POP" >
</map:when>
<map:otherwise>
</map:otherwise>
</map:select>
In the flowscript:
I define a JS object called flowRequest with data member ver and invoke the sendPageAndWait command as follows:
cocoon.sendPageAndWait("XMLcollector", { "flowRequest":flowRequest});
Setting ver to "POP" triggers the test="POP" part of the select logic.
Cheers -Yatin
