Why would you want to have an action related to 2 forms.
A form typically means a business functionality and an action is the
trigger for that business functionality.
If you are saying that a single functionality encompasses more than one
form then there is problem in the design.
I think u shld giv
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Rick wrote:
Guys,
This is what I wanted to do without using any javascript.
Why don't you just tell us what you want to do without giving the html?
Then we can see what html you really might need. If your html were
adequate, you would not have to ask
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 9:13 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Multiple forms in one JSP + one Action
>
>
> Thanks to all, for g
> Sent: Thursday, August 12, 2004 12:05 PM
> To: Struts Users Mailing List
> Subject: Re: Multiple forms in one JSP + one Action
>
>
> Hollaway, Shedrick CIV (TRFKB C600) wrote:
>
> > Rick, my apologies for being unclear here, html:text is
> html-el:text and I
>
Rick Reumann wrote:
Sorry this of course should be
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Rick, my apologies for being unclear here, html:text is html-el:text and I
am using JSTL to retrieve data and iterate with (c:foreach). There are alot
more fields involve here each ActionForm corrolate to a database
tables(Atable = Aform, Btable = Bform).
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 8:28 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Multiple forms in one JSP + one Action
>
>
> Rick, my apologies
> -Original Message-
> From: Hollaway, Shedrick CIV (TRFKB C600)
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 12, 2004 5:51 AM
> To: '[EMAIL PROTECTED]'
> Subject: Multiple forms in one JSP + one Action
>
>
> I am unable to find a solution or an alternate way of having
> multip
Rick, my apologies for being unclear here, html:text is html-el:text and I
am using JSTL to retrieve data and iterate with (c:foreach). There are alot
more fields involve here each ActionForm corrolate to a database
tables(Atable = Aform, Btable = Bform). I would like the user to be able
update fie
Hollaway, Shedrick CIV (TRFKB C600) wrote:
This is what I wanted to do without using any javascript.
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB -- displayed%>
First Contact:
value="${contact[0].fullName}"
readonly="false"/>
First form has among other things:
two attributes of the type formB1 & formB2 (with the accessors getFormB1 &
getFormB2).
The fields in the forms are then named :
_ formB1.name, formB1.surname
_ formB2.name, formB2.surname
Don't forget to instanciate in the FormABean the two "sub" beans.
\T,
Rick wrote:
Guys,
This is what I wanted to do without using any javascript.
<%-- first form stuff -- using formA --%>
<%-- second form stuff -- using formB -- displayed%>
First Contact:
<%-- t
ppk123 wrote:
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
Yea there are ton of Javascript tricks you can do but usually you want
to avoid this kind of stuff if possible. My guess is there is
ppk123 wrote:
you can submit multiple forms using javascript like
document.forms[0].submit(); .. and so on..
keep in mind to have different targets for each forms.
This is, I think, just going to confuse this guy. Tell us what you want
to do, guy!
--
CTED]>
Sent: Thursday, August 12, 2004 4:20 PM
Subject: Re: Multiple forms in one JSP + one Action
> Hollaway, Shedrick CIV (TRFKB C600) wrote:
>
> > Micheal
> > I was trying to submit all three at one time.
>
> I've been doing Struts for a long time now and have
Hollaway, Shedrick CIV (TRFKB C600) wrote:
Micheal
I was trying to submit all three at one time.
I've been doing Struts for a long time now and have never run across a
case where I had to do submit more than one form from one click. You can
have as many forms as you want on a page though and you
thanks,
Shed
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 9:36 AM
To: Struts Users Mailing List
Subject: Re: Multiple forms in one JSP + one Action
At 05:50 AM 8/12/2004, you wrote:
>I am unable to find a solution or a
Hollaway, Shedrick CIV (TRFKB C600) wrote:
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
<%-- first form stuff -- using formA --%>
<%-- se
At 05:50 AM 8/12/2004, you wrote:
I am unable to find a solution or an alternate way of having multiple forms
in one jsp and upon submit one action handling all forms.The jsp will have
the forms as follows:
You can have many forms but can submit only one at a time. What are you
trying to do?
Mic
19 matches
Mail list logo