html:form must have a form bean. Form beans are the framework's way of
dealing with forms.
David
From: Chen, Gin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: Action without FormBean
Date: Wed, 26 Feb 2003
Yes, you *must* have a name attribute if you are going to use an html:form.
Here's a snippet from the docs for html:form
If the name and type attributes are not specified, then the form bean will be located,
and created if necessary, based on the form bean specification for the associated
If you don't want a form bean, why are you a) submitting to an action b) not
using form ... instead of html:form ...?
--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:05 PM
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Action without FormBean
html:form must have a form bean. Form beans are the framework's way of
dealing with forms.
David
From: Chen, Gin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
'
Subject: RE: Action without FormBean
Thanks David.
That's what I figured.
Unfortunately it just seems like an unnecessary step sometimes.
For example I have a collection that is returned to me and I
show it as such
x [View] [Delete]
x [View] [Delete]
x
the wrapper
formbean. (especially since i'm not a graphics guy :P)
-Tim
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 1:17 PM
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
If you don't want a form bean
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
Thanks David.
That's what I figured.
Unfortunately it just seems like an unnecessary step sometimes.
For example I have a collection that is returned to me and I
show it as such
x [View] [Delete]
x
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 1:36 PM
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
I do that all the time, my results (rows) reside in a collection in request
scope. The form bean simply
'
Subject: RE: Action without FormBean
Thanks David.
That's what I figured.
Unfortunately it just seems like an unnecessary step sometimes.
For example I have a collection that is returned to me and I
show it as such
x [View] [Delete]
x [View] [Delete]
x
without using graphics.
David
From: Chen, Gin [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Action without FormBean
Date: Wed, 26 Feb 2003 13:36:20 -0500
I could but I use a regular form but I want to stay
Software Engineer/Struts Evangelist
-Original Message-
From: Chen, Gin [mailto:[EMAIL PROTECTED]
Sent: mercredi 26 février 2003 13:49
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
Hi James,
I did use links before. But they want to see buttons
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
Thanks David.
That's what I figured.
Unfortunately it just seems like an unnecessary step sometimes.
For example I have a collection that is returned to me and I show it as such
x [View] [Delete]
x [View
]
Sent: Wednesday, February 26, 2003 2:00 PM
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
Ok, assuming the number of rows are not known, how do you plan to deal
with:
1. Which id they picked
2. Whether they hit edit or delete for the id they picked
This can be easily
: RE: Action without FormBean
Yea JavaScript is the only way to go right now.
I invoke a javascript function to populate hidden fields
during the onclick.
If you have a better id (other than going away from struts
for this page
:-/) plz let me know.
-Tim
-Original Message
instead of href
links.
D*mn users. ;P
-Tim
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 1:34 PM
To: 'Struts Users Mailing List'
Subject: RE: Action without FormBean
So your [View] and [Delete] are submit buttons?
Why can't
15 matches
Mail list logo