cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: JXPath templates issues
Date Wed, 21 Jan 2004 15:04:15 GMT
Yes.

Ugo Cei wrote:

> Christopher Oliver wrote:
>
>> The problem is that x is a JavaScript wrapper of a HashSet. Jexl's 
>> special size() function only support collections and arrays. Perhaps 
>> that can be fixed by unwrapping NativeJavaObject's before adding them 
>> to the Jexl context.
>
>
> If this solves the problem, I'm +1 for it. However, why doesn't 
> ${x.size()} work? Is this because "size" is a reserved keyword in JEXL?
>
>     Ugo
>
>
>



Mime
View raw message