MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Marcus Biel
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,

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
[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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Xavier Combelle
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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Xavier Combelle
;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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Galbreath, Mark
: 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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Andrew Hill
) 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

Re: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Marcus Biel
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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Galbreath, Mark
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

RE: MVC Design: property in ActionForm or Bean with property in ActionForm ?

2002-10-31 Thread Craig R. McClanahan
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