How can I nest a collection inside another?

Like I have a collection of products each product has a collection of modules, when trying to use
<nested:iterate property="products">
//iterate through request modules collection containing name and idvalue of each module
<logic:iterate name="modules" id="module">
<nested:checkbox property="modules.module.id"/><bean:write name="module" property="description"/>
</logic:iterate>
</nested:iterate>


I get the following error:

No getter method for property products[0].modules.module.id of bean ProductsForm

I thought struts could check that modules was a collection of Module beans. and 
so define an index for it

Any ideas how do I solve this???


Thanx



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



Reply via email to