quot;/>
> >
> >
> >
> >
> >
> >
> > Now your action is pretty simple.
> > Based on the formIteration value you know which of the n forms was
us
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
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
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
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
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
6 matches
Mail list logo