cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: Test for blank or null string in Jx
Date Fri, 22 Jul 2005 17:57:31 GMT

On Jul 22, 2005, at 10:52 AM, footh wrote:

> This seems like it should be easy but I've tried a
> million different combinations and I can't seem to get
> a jx if tag to test for a blank or null string.
>
> Can someone point me in the right direction?

Been there, felt the pain.  I don't know why it doesn't "just work" the 
way you would expect.

Anyway, this will work

	<jx:if test="isEmpty (theString)">

cheers,
—ml—


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


Mime
View raw message