<[EMAIL PROTECTED]> wrote:


> Hi Sandeep,
>
> Try this:
>
>       <logic:iterate id="price" name="MyFormBean" property="pricesVector">
>       <TR>
>          <TD>
>             <bean:write name="price" property="oldPrice"/>
>          </TD>
>
>          <TD >
>             <html:text name="price" property="newPrice" />
>          </TD>
>       </TR>
>       </logic:iterate>
>
> and have getter/setter for pricesVector in your MyFormBean  and
getter/setters
> for oldPrice and newPrice in Price object.
>
> Hope that helps,
>
> Dave


This cannot work. The displayed prices will be OK, but the update cannot
work. The generated paramter will ba called "newPrice" and the form
does not have such property.

--
gR

Reply via email to