cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yatin Shah <nos...@kripa.com>
Subject Re: [FLOW] How to access flow parms in the site map? RESOLVED
Date Wed, 04 Feb 2004 15:48:56 GMT
Thanks to Daniel's suggestion.

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





Mime
View raw message