You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Senén de Diego <se...@hotmail.com> on 2002/09/02 17:20:26 UTC

[Nested] - Iterating over a Set

I'm trying:

<nested:root name="categoria">
    <nested:iterate property="subArticulosIds">
    ...
    </nested:iterate>
</nested root>

where "subArticulosIds" is of class java.util.HashSet.

This fails. It gives:

java.lang.IllegalArgumentException: Property 'subArticulosIds' is not
indexed at
org.apache.commons.beanutils.PropertyUtils.getIndexedProperty(PropertyUtils.
java:499)

But it works using "logic":

<logic:iterate name="categoria" property="subArticulosIds">

Am I doing something wrong?

Thanks,
Senén



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>