Re: please help: ActionForms of same type but different name?

2003-10-29 Thread Kirk Wylie
quot;/> > > > > > > > > > > > > > > Now your action is pretty simple. > > Based on the formIteration value you know which of the n forms was us

Re: please help: ActionForms of same type but different name?

2003-10-28 Thread Sonam Belbase
t; > > > > > > > > > > > Now your action is pretty simple. > > Based on the formIteration value you know which of the n forms was used to > > login. > > Hope that helps

Re: please help: ActionForms of same type but different name?

2003-10-28 Thread Sonam Belbase
e n forms was used to > login. > Hope that helps. > -Tim > > -Original Message----- > From: Sonam Belbase [mailto:[EMAIL PROTECTED] > Sent: Monday, October 27, 2003 6:37 PM > To: Struts Users Mailing List > Subject: Re: please help: ActionForms of same type but different na

RE: please help: ActionForms of same type but different name?

2003-10-28 Thread Chen, Gin
value you know which of the n forms was used to login. Hope that helps. -Tim -Original Message- From: Sonam Belbase [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 6:37 PM To: Struts Users Mailing List Subject: Re: please help: ActionForms of same type but different name? There

Re: please help: ActionForms of same type but different name?

2003-10-27 Thread Sonam Belbase
There is no knowing until runtime how many iterations there are going to be. That's why we can't define the n number of LoginForms. The requirement is that on the same jsp, we will have repeating sections. User will specify at runtime how many he/she wants. The will all be of the same type. Rest

RE: please help: ActionForms of same type but different name?

2003-10-27 Thread Chen, Gin
One approach, you can define as many form-beans as you want iteratations. Ex: . . . You can also just use a single form bean for all your actions.. If they are the same class then they are the same formbean anyways. So just use the same name for all of them (well not html:form name in Struts