struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Senén de Diego <senen_de_di...@hotmail.com>
Subject [Nested] - Iterating over a Set
Date Mon, 02 Sep 2002 15:20:26 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message