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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to