cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich, Dominik" <Dominik.Ulr...@ids.de>
Subject [HELP] ParamSelector does not work
Date Mon, 02 Feb 2004 14:14:02 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message