cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <bab...@ifrance.com>
Subject troubles with map:select type="request-parameter"
Date Tue, 23 Jul 2002 09:13:44 GMT
Using C 2.0.3.

I cannot get into the <map:when> part although I checked, request parameter
"platform" value is indeed "All". Thanks for any help.
I suspect that my request parameter is at a deepest level because of the
sunRise authentication act ?

Barbara

Pipeline :

<map match pattern="test">
  <!-- be sure one gets the request parameters -->
   <map:act type="request">
    <map:parameter name="parameters" value="true"/>
    <!-- authenticate as usual -->
     <map:act type="sunRise-auth">
     <map:parameter name="handler" value="baepp-handler"/>

<map:select type="request-parameter">
   <parameter-name>platform</parameter-name>
   <!-- all platforms -->
   <map:when test="All">

<.... >

  </map:when>
   <!-- selected platforms -->
  <map:otherwise>
  <map:redirect-to uri="http://www.google.fr/{../platform}"/> [and I get
redirected to http://www.google.fr/All]
  </map:otherwise>
</map:select>
</map:act>
</map:act>
</map:match>


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