You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Peter Royal <pr...@apache.org> on 2003/09/04 03:04:14 UTC
Re: [jexl] dotted property names in expressions
On Monday, August 18, 2003, at 04:42 PM, Ryan Hoegg wrote:
> 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>
>
I just added a unit test to the CVS version of jexl, I think it
exercises this ( and works fine )
-pete