cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanket Pattekar" <sanket.patte...@gmail.com>
Subject jx:choose problem
Date Fri, 12 May 2006 20:27:28 GMT
Hi,

In my sitemap I have a parameter defined as

<map:parameter name="country" value="gb"/>.

I am using this in the xml file using jxtemplate

<jx:choose>
	<jx:when test="${cocoon.parameters.country}=='global'">
		Step 1
	</jx:when>
	<jx:otherwise>
		Step 2
	</jx:otherwise>
</jx:choose>

So according to the logic step 2 should get executed. But in my case
Step 1 gets executed. Am I using jx template generator incorrectly

Thanks in advance
Sanket

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message