What's better:
To have a bean let's say BookBean.java
that has got a String title, author, pages
and an Actionform that uses this BookBean,
or is it better to have an ActionForm
that has a String title, author, pages.
Imho it's much faster and easier to have your properties in your
ActionForm,
[mailto:Marcus.Biel;bmw.de]
Sent: Thursday, October 31, 2002 18:20
To: [EMAIL PROTECTED]
Subject: MVC Design: property in ActionForm or Bean with property in
ActionForm ?
What's better:
To have a bean let's say BookBean.java
that has got a String title, author, pages
and an Actionform that uses
Mailing List
Objet : RE: MVC Design: property in ActionForm or Bean with property in
ActionForm ?
Technically speaking, the ActionForm IS a bean.
It's purpose is to represent the users input (which you can
validate and if
necessary redisplay for correction) before transferring in your action
says they should be 'friendly' ;-)
-Original Message-
From: Xavier Combelle [mailto:xcombelle;kaptech.com]
Sent: Thursday, October 31, 2002 18:52
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: MVC Design: property in ActionForm or Bean with property in
ActionForm ?
I have
;gridnode.com]
Envoye : jeudi 31 octobre 2002 11:42
A : Struts Users Mailing List
Objet : RE: MVC Design: property in ActionForm or Bean with property in
ActionForm ?
Technically speaking, the ActionForm IS a bean.
It's purpose is to represent the users input (which you can
validate
: MVC Design: property in ActionForm or Bean with property in
ActionForm ?
So in your point of view, a DynaActionForm should be enougth for
any kind of form ?
Xavier
-Message d'origine-
De : Andrew Hill [mailto:andrew.david.hill;gridnode.com]
Envoye : jeudi 31 octobre 2002 12:00
) and tend to access my forms as
java objects quite often in my form renderers...)
-Original Message-
From: Xavier Combelle [mailto:xcombelle;kaptech.com]
Sent: Thursday, October 31, 2002 19:12
To: Struts Users Mailing List
Subject: RE: MVC Design: property in ActionForm or Bean with property
btw:
That's just what I am looking for!
How can I check if a user typed in a string instead of a number?
marcus
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Are you kidding? Dude, everything typed in an HTML form is a string. You
have to do some validation.
Mark
-Original Message-
From: Marcus Biel [mailto:Marcus.Biel;bmw.de]
Sent: Thursday, October 31, 2002 6:40 AM
btw:
That's just what I am looking for!
How can I check if a user typed
On Thu, 31 Oct 2002, Andrew Hill wrote:
Date: Thu, 31 Oct 2002 20:16:34 +0800
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: MVC Design: property in ActionForm
10 matches
Mail list logo