try <map:select type="request-parameter">

The main sitemap has the definition of all the selectors, and there the
request-parameter selector should have the name "request-parameter", the
"parameter" stands for another selector. Just check that!

Greetings,

Jan

----- Original Message ----- 
From: "Ulrich, Dominik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 02, 2004 3:14 PM
Subject: [HELP] ParamSelector does not work


> Hi
> I want to use the RequestParamSelector in my sitemap, my example is:
>
> <map:select type="parameter">
> <map:parameter name="parameter-name" value="form"/>
> <map:when test="new_data">
> CASE1
> </map:when>
> <map:otherwise>
> CASE2
> </map:otherwise>
> </map:select>
>
> the url in the browser looks like .../cocoon/bla?form=new_data
> but everytime I'm getting to CASE2 instead of 1.
> Whats wrong? If I use an action inside the <map:otherwise> with
src="{request-param:form}"
> the value is inserted correctly, but why is it not correctly tested with
<map:select>?
>
> any idea?
> Regards Dominik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to