Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-26 Thread Ted Husted
I don't see where this part of the thread began, but reset() is always called before the bean is autopopulated from the request, regardless of scope. If your reset is setting fields you want to retain to null, you should have it stop. This is really only necessary when checkboxes are expected. --

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-26 Thread Paul Devine
uot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 23, 2001 1:30 PM Subject: Re: Design question - Action Form vs Business Delegates/Value Objects > That sounds quite clever. > > So the adapter class itself has no fields,

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-23 Thread Ted Husted
John Yu wrote: > Struts is clever enough to call myEmployeeBean.getEmployeeVO().getName(). Something to watch is that Struts is also clever enough to populate any String or boolean public property property on employeeVO from a query string. So if employeeVO had another property, like role, someon

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-23 Thread Rey Francois
:31 To: Struts Users Mailing List Subject: AW: Design question - Action Form vs Business Delegates/Value Objects Hi Francois Will yor mapper framework become a part of jakarta commons? What are the plans? When should I use David Winterfeld's validation framework and when yours? Can they wor

AW: Design question - Action Form vs Business Delegates/Value Objects

2001-11-23 Thread Roland Berger
endet: Freitag, 23. November 2001 09:17 An: 'Struts Users Mailing List' Betreff: RE: Design question - Action Form vs Business Delegates/Value Objects I've had the same problem as you describe and like yourself have created a mapper framework, see http://husted.com/struts/resource

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-23 Thread Rey Francois
28 To: 'Struts Users Mailing List' Subject: Design question - Action Form vs Business Delegates/Value Objects Hello, we're working on a quite large project with J2EE (including EJBs) and we're using Struts (we're still in the early phases). To design a "clean" app

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
t; > > > > > > EmployeeForm extends ActionForm > > > > > +getName():String > > > > > +getAge():String > > > > > +getDateOfBirth():String > > > > > > > > > > EmployeeVO > > > > > +getName():String &

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
where the > fields > > > have a "real" meaning (a Date is a Date). > > > > > > I don't see the reasons of making EmployeeVO an instance variable of > > > EmployeeForm. And EmployeeVO can not be used directly inside Struts to > map >

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Matthew O'Haire
terns. Is there one already? Matt O'Haire Trysoft Corporation Ltd. http://www.trysoft.com -Original Message- From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Sent: Friday, November 23, 2001 08:35 To: Struts Users Mailing List Cc: '[EMAIL PROTECTED]' Subject: RE: Design question

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
> > } > > > > > > public void setAccount(AccountVo aAccount) { > > > account = aAccount; > > > } > > > > > > .... > > > } > > > > > > Then, in your jsp you reference the accountvo members like

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Dmitri Colebatch
just be a "picky thing" that will simply > waste resources. > > Thanks. > > Andrej > -Original Message- > From: Michelle Popovits [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 22, 2001 4:13 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Sandeep Takhar
I'm interested in this mapper you talked about, thanks, btw: What is the difference between this one and the one on Ted Husted's? Are you talking about Mapco? Sandeep --- "Sobkowski, Andrej" <[EMAIL PROTECTED]> wrote: > Hello, > > we're working on a quite large project with J2EE > (including

RE: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Sobkowski, Andrej
a "picky thing" that will simply waste resources. Thanks. Andrej -Original Message- From: Michelle Popovits [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 4:13 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Design question - Action Form vs Business Delegate

Re: Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Michelle Popovits
ot; <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: Design question - Action Form vs Business Delegates/Value Objects >Date: Thu, 22 Nov 2001 13:2

Design question - Action Form vs Business Delegates/Value Objects

2001-11-22 Thread Sobkowski, Andrej
Hello, we're working on a quite large project with J2EE (including EJBs) and we're using Struts (we're still in the early phases). To design a "clean" application, I've defined different "object conversions": * Request phase - the ActionForm is converted to a Value Object - the Value Object is pa