Use multiple form-bean entries for the same form and struts will keep them
separate.

Edgar

> -----Original Message-----
> From: Rajat Pandit [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 19, 2003 4:21 AM
> To: [EMAIL PROTECTED]
> Subject: multiple forms with the same formBean
> 
> 
> hello,
> i am using multiple forms in one page which are
> attached to the same form bean. now the problem is
> that when there is an validation error and the page is
> returned back to INPUT all the forms in the page are
> prefilled with the same value. i am giving the
> struture of my jsp  pls help as this is urgent
> 
> <logic:iterate id="product" name="PRODUCTS">
> <html:form action="/Bid" name="bidForm">
> <!-- form content -->
> <html:text name="bidForm" property="amount">
> <!-- end of form content -->
> <?html:form>
> </logic:iterate>
> 
> this will print the form n times on the page.. now
> suppose the first form is submitted with some eror
> then the bean bidForm will be saved with this value
> and in all the iterated forms will be prefilled with
> the same.. any clues. am i doing it the wrong way or
> any better way to do the same thing.
> regards
> rajat
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design 
> software http://sitebuilder.yahoo.com
> 

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

Reply via email to