Now that I understand my problem a little better, maybe I can explain it a
little better.
My form bean, named ItemList, contains a collection of objects named
itemList. Each member of itemList contains a collection of objects named
prices. Each member of prices contains a string named price,
I think this might work:
%@ taglib prefix=html uri=http://jakarta.apache.org/struts/tags-html; %
%@ taglib prefix=nested uri=http://jakarta.apache.org/struts/tags-nested; %
...
%-- assuming ItemList is the form for this action --%
html:form action=...
nested:iterate property=itemList
tr
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Subject: Re: Form beans with nested arrays
I think this might work:
html:form action=...
nested:iterate property=itemList
tr
nested:iterate property=prices
td
nested:text property=price/
/td
:[EMAIL PROTECTED]
Subject: Re: Form beans with nested arrays
I think this might work:
html:form action=...
nested:iterate property=itemList
tr
nested:iterate property=prices
td
nested:text property=price/
/td
/nested:iterate
4 matches
Mail list logo