Hi Sanket,

Try,
<jx:when test="${cocoon.parameters.country=='global'}">

or

<jx:when test="${cocoon.parameters.country.equals('global')}">

Best Regards,

Antonio Gallardo

Sanket Pattekar escribió:
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


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

Reply via email to