From: "Adrian Crum" <[email protected]>
Prior to rev 726260 you'll have to use a counter inside an <iterate> operation.

Prior to rev 726260 you could also have used <set field="listSize" value="${bsh:list.size();}" type="Long"/>

Jacques


After rev 726260 you can use a built-in UEL function ${util:size(collection)}.

-Adrian

Hansen Wang wrote:
Is there a way to get the size of a collection in simple-method
implementation? Thanks!



Reply via email to