hi,
 
i use a 'form' to pass some parameters to a 'action' which i match in a pipeline. the action can be 'redirect-to' another page based on one of the parameters. now i wanna use different transformers for different pages based on the parameters. my sitemap:
 
<map:match pattern="">
   <map:redirect-to uri="form.html" />
  </map:match>
 
  <map:match pattern="action">
   <map:redirect-to uri="{request-param:uri}" />
  </map:match>
 
  <map:match pattern="*.1">
       <map:generate src="" type="html"/>
   <map:transform src=""/>
 <map:serialize type="xhtml"/>
  </map:match>

  <map:match pattern="*.2">
       <map:generate src="" type="html"/>
    <map:transform src=""/>
   <map:serialize type="xhtml"/>
  </map:match>
......
 
here i use different url (.1 or .2......) to match different transformers. now i wanna use some check-boxs in the 'form' to pass some parameters and transform the page based on them. but the ParameterSelector and  RequestParameterSelector only can match one key at a time. how can i do:
if a=1 then using this.xsl
if b=2 then using another.xsl
......
 
hope the question is clear. thanks for any help in advance!
 
 
Leon 


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Reply via email to