Re: Conceptual question about populating/validating values

2003-09-17 Thread Ted Husted
I'd agree with Edgar. Since ActionForms are a class rather than an interface, as it stands, you either have to live with the duplicate objects, or least two sets of properties, or go to other extremes. You can do things like use the ActionForms as an adaptor or facade for your business objects,

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
Ok, but I'm not suggesting the request be saved or serialised. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 15:16 To: Struts Developers List Subject: RE: Conceptual question about populating/validating values I test my apps under tomca

RE: Conceptual question about populating/validating values

2003-09-17 Thread Edgar P Dollin
Developers List > Subject: RE: Conceptual question about populating/validating values > > > I'm assuming the same thread handles the client request all > the way through - which is the case in my environment (which > environments should I steer clear of?). If this is the case

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
riginal Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 13:08 To: Struts Developers List Subject: RE: Conceptual question about populating/validating values If you are saving system objects, i.e. request, to persistent objects, you will have synchronization prob

RE: Conceptual question about populating/validating values

2003-09-17 Thread Edgar P Dollin
o: Struts Developers List > Subject: RE: Conceptual question about populating/validating values > > > I hit the same problem. I don't like having two fields > (string and type > specific) as you have to sync. them and it bloats your > objects out. I don't like the

AW: Conceptual question about populating/validating values

2003-09-17 Thread lecker
x27;Struts Developers List'" <[EMAIL PROTECTED]> Betreff: RE: Conceptual question about populating/validating values > If I were you I would use strings in my form beans (or at least methods or > parallel field which accept strings as arguments) and look into third

RE: Conceptual question about populating/validating values

2003-09-17 Thread Bygrave, Graham BGI UK
nverter, so you can build any validation errors there. Regards, Graham. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 12:33 To: Struts Developers List Subject: RE: Conceptual question about populating/validating values If I were you I would use

RE: Conceptual question about populating/validating values

2003-09-17 Thread Edgar P Dollin
er 17, 2003 6:23 AM > To: [EMAIL PROTECTED] > Subject: Conceptual question about populating/validating values > > > Hi there, > > I have a conceptual question about the population process for > properties inside Struts. > > First of all a description: > &

Conceptual question about populating/validating values

2003-09-17 Thread lecker
Hi there, I have a conceptual question about the population process for properties inside Struts. First of all a description: I have a JSP which includes a text input field like this: "currentPerson" is a Person-Object which has a birthDate-Attribute of type java.util.Date (!). This object is