commons-dev mailing list archives

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

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

maven -Ddotted.property.name=foo goal

inside the goal:

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

<j:set var="littlename" value="${dotted.property.name}"/>

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

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
http://www.isisnetworks.net


Mime
View raw message