cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Wejderot" <mar...@wejderot.se>
Subject Newbie question: <jx:choose/>
Date Fri, 19 Oct 2007 13:08:33 GMT
Hi,

I'm learning Cocoon but got stuck on this simple prob. I can't make this
print out "No":

<jx:choose>
<jx:when test="${false}">Yes</jx:when>
<jx:otherwise>No</jx:otherwise>
</jx:choose>

I have tried all kinds of things in @test. What I'm really want to do is to
check if the variable ${userid} is empty. How to do this?

Thanks!

/Marcus


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


Mime
View raw message