cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurva zaveri <azav...@yahoo.com>
Subject using seletor to test 2 or more request parameter
Date Fri, 30 Aug 2002 05:44:10 GMT
I have a selector in pipeline

          <map:select type="request-parameter">
            <map:parameter name="parameter-name"
value="cocoon-xmlform-view"/>
            <map:when test="confirm">
                       <map:redirect-to
uri="PropForSale(1)"/>
           </map:when>
          </map:select>

This works just fine, but this tests only one request
parameter....if someone wants to test 2 or more
parameter..........how is that done?

I also tried something like :

          <map:select type="request-parameter">
            <map:parameter name="parameter-name"
value="cocoon-xmlform-view"/>
<!--            <map:parameter name="parameter-name"
value="cocoon-action-next"/>  -->
            <map:when test="confirm">   <!-- like how
to test 2 request parameter condition? -->


                  <map:select
type="request-parameter">
                    <map:parameter
name="parameter-name" value="cocoon-action-next"/>
                    <map:when test="Next">  -->
                        <map:redirect-to
uri="PropForSale(1)"/>
                   </map:when>
                  </map:select>

            </map:when>
          </map:select>

does not work.


-Apurva Zaveri

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message