commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Hoegg <>
Subject [jexl] dotted property names in expressions
Date Mon, 18 Aug 2003 20:42:16 GMT

There is a problem with jexl when testing dotted property names for 
emptiness.  I am using it from jelly through maven:

maven goal

inside the goal:

<j:if test="${empty(}">
  <echo> Empty property </echo>

<j:set var="littlename" value="${}"/>

<j:if test="${empty(littlename)}">
<echo> Empty little property </echo>

Only the first echo happens.

If I get more time to get the code from CVS working in eclipse and to 
get my head around Jexl internals, I'll write a unit test.

Ryan Hoegg
ISIS Networks

View raw message