cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: choose problem
Date Mon, 15 May 2006 10:18:18 GMT
Excuse me, see that it was already solved....
> 
> 
> > 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'">
> 
> try <jx:when test="${cocoon.parameters.country=='global'}">
> 
> Regards Ard
> 
> 
> > 		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
> > 
> 
> -- 
> 
> Hippo
> Oosteinde 11
> 1017WT Amsterdam
> The Netherlands
> Tel  +31 (0)20 5224466
> -------------------------------------------------------------
> a.schrijvers@hippo.nl / http://www.hippo.nl
> -------------------------------------------------------------- 
> 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

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


Mime
View raw message