Conal Tuohy wrote:
Leszek Gawron wrote:


as size is a keyword in jexl, how can I issue a size() method on a java.util.Set?


Can you use the xpath function "count()"?
No I can't. It looks like the hibernate lazy collection is not initialized in the first place and I get 0 every time I do it.

I know already why this does not work ${size( collection )}. The collection has to be Map, List or Array (String also even though this is not a collection). Set was simply omitted so I have to provide a patch.

--
Leszek Gawron                                      [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to