Have an ArrayList in the form-bean

<form-property name="payments" type="java.util.ArrayList"/>

This contains the list of row objects required for the below table.




using displaytag to display the the list of elements.

<display:table name="sessionScope.Form1.payments" id="row" requestURI="PrepareAction.do" class="table1">
......
<display:column titleKey="lbl.payment">
<c:set var="paymentPropertyName" value="payments[${row_rowNum -1}].paymentAnn"/>

<html:text name="Form1" property='<%= pageContext.getAttribute ("paymentPropertyName").toString() %>' />
</display:column>

....................
.......................
</display:table>

I tried using the above code but, when the form is submitted the values entered in the input fields are not updated to the form-bean arraylist. Using validator for validation. that seams to be working fine but the form-beans ArrayList is not updated.

what am I missing here? how to fix this?

Thanks.

_________________________________________________________________
Get today's hot entertainment gossip  http://movies.msn.com/movies/hotgossip


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

Reply via email to