Hi Barbara,

try to use the selector like this:

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

Good luck,
Elmar

-----Ursprüngliche Nachricht-----
Von: Barbara Post [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 23. Juli 2002 11:14
An: [EMAIL PROTECTED]
Betreff: troubles with map:select type="request-parameter"


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

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