The iterator class doesn't have a length property:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html

you are going to have to get the size from the collection itself.

musachy

On 7/12/07, yitzle <[EMAIL PROTECTED]> wrote:

I got an iterator that works fine and does what I want it to:

<s:iterator value="iterator">
...
</s:iterator>

A few lines above, I try to print the iterator size:
Total: <s:property value="appRegistries.length"/>

Doesn't display anything.

The OGNL Guide says it supports .length for arrays.
Does is not support iterators? Especially since the iterator is simple
an array container?

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




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to