cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: JXPath templates issues
Date Tue, 20 Jan 2004 17:13:34 GMT
Vadim Gritsenko wrote:
> Found couple of issues with jxpath template generator:
> 
>  * #{0 != ''} evaluates to false
>  * #{0 &gt; 1} is not evaluated, as well as #{0 &lt; 1}

There's another issue I have just discovered:

var x = new java.util.HashSet();
cocoon.sendPage("view", { "x" : x });

...

${x.size()}  give a syntax error. If I try to do ${size(x)} it complains 
that the size function isn't applicable to the variable's class.

	Ugo



Mime
View raw message