cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Hailstone" <matthew.hailst...@waterford.org>
Subject request-parameter exist
Date Fri, 14 Jun 2002 22:11:31 GMT
Is there any way to determine whether a particular request-parameter
exists in the sitemap's pipeline?

ex:

        <map:select type="request-parameter">
          <map:parameter name="parameter-name" value="test-name"/>

<!-- I know I'm probably hashing the syntax. -->

          <map:when test="!exist()">
            <map:redirect-to session="true"
uri="subsiteroot/doesnotexist"/>
          </map:when>
          <map:otherwise>
            <map:redirect-to session="true"
uri="subsiteroot/doesexist"/>
          </map:otherwise>
        </map:select>

Thanks,

Matthew

---------------------------------------------------------------------
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