I've been wondering this for a while but is it possible to index an list
inside of a list?
ie.
You can have a 1 layer list-backed property via
public void setFoo(int key, Object value) {
foo.set(key, value);
}
public Object getFoo(int key) {
return foo.get(key);
}
and in your jsp, reference a foo[0], foo[1], etc.
But can you put another List<Object> inside of the Object itself and
reference that in your jsp page at all?
Basically, what I would love to achieve is something like:
<c:forEach var="fooer" items="foo">
<c:forEach var="fooerer" items="${fooer}">
${fooerer[12]}
</c:forEach>
</c:forEach>
any ideas or suggestions?
--
View this message in context:
http://www.nabble.com/A-list-backed-property...of-a-list-backed-property--tf3647039.html#a10186073
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]