I have a page with two forms. For one an action gets called so I can
initialize the first form easily. But for the second form in the same
page, how can it be initialized?
Thanks in advance,
Erez
-
To unsubscribe, e-mail:
Instantiate it yourself from within the action and attact it to the
request object inside of your action.
On Sun, 2003-09-28 at 18:12, Erez Efrati wrote:
I have a page with two forms. For one an action gets called so I can
initialize the first form easily. But for the second form in the same
submit buttons is no problem.
Jay
- Original Message -
From: STEVE WILKINSON [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 06, 2002 4:56 PM
Subject: Re: Multiple Forms on one JSP...
I use multiple forms successfully in my sample application that I did in
the
Wrox Pro
.
- Original Message -
From: Rustad, Aaron
Sent: Wednesday, February 06, 2002 8:22 PM
To: 'Struts user '
Subject: RE: Multiple Forms on one JSP...
Alright, this is not what I want.
I have ONE JSP, it contains TWO forms, each form goes to a separate action.
However, when the JSP is rendered
, February 07, 2002 7:23 AM
To: Struts user
Subject: Re: Multiple Forms on one JSP...
Sounds like you need some debugging of you code. Hum, I don't see
enough posted here to help.
Normally, one would post more code or look at the code sample that was
offered to compare and see what's wrong. I
Message -
From: Jay Sissom
Sent: Thursday, February 07, 2002 2:59 AM
To: Struts Users Mailing List
Subject: Re: Multiple Forms on one JSP...
Maybe this code snippet is not complete, but there is only one FORM on this
page. Everything between html:form and /html:form is a single form.
There may
I seem to be running into a bit of a problem with one of my JSP pages that
has two forms on it. Only one Form is being instantiated for it. I am sure
you should be able to have multiple forms.
Here is an example of my JSP:
html:form action=/searchFood
table width=224 border=0
**
Mailing List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: Multiple Forms on one JSP...
Date: Wed, 6 Feb 2002 13:15:53 -0700
I seem to be running into a bit of a problem with one of my JSP pages that
has two forms on it. Only one Form is being instantiated for it. I am sure
you
PROTECTED]]
Sent: Wednesday, February 06, 2002 2:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Forms on one JSP...
I use multiple forms successfully in my sample application that I did in the
Wrox Pro JSP 2nd Edition book. There is one per entry in the HTML table.
--- snip: from
that name.
I am sure that you should be able to have TWO forms, referencing two
different actions, using TWO different formBean.
Any suggestions?
AR.
-Original Message-
From: STEVE WILKINSON
To: Struts user
Sent: 2/6/02 4:39 PM
Subject: Re: Multiple Forms on one JSP...
I know that works
Hello there,
I am fighting with the specifications of struts, request scopes, checkboxes and so
on...(as Marcel knows)
One answer to a simple question can make many things clear:
is it allowed to have two forms in one jsp? What are the resctrictions? Is it possible
to access a field of one
11 matches
Mail list logo