PDA

View Full Version : binding nested list variable.


prajkta
May 6th, 2008, 11:51 AM
I am not able to bind the nested list variable . i have written the following code:

<c:forEach var="groupedOptionList" items="${customerOptionForm.groupedOptionListList}" varStatus="listIndex">
<c:forEach var="productOption" items="${groupedOptionList}" varStatus="status">

<td>
<spring:bind path="customerOptionForm.groupedOptionListList[${listIndex.index}].[${status.index}].pricePerItem">
<input type="text" name="${status.expression }" value="${status.value }" maxlength="10" size="10"
/> </spring:bind>
</td>

Does anybody know how to bind nested list variable using <spring:bind> tag.

Thanks.

prajkta
May 7th, 2008, 08:24 AM
solution is:Autopopulationlist