Re: [POLL] ActionFrom vs DynaActionForm

2003-10-05 Thread Adam Hardy
On 09/30/2003 09:04 PM Ted Husted wrote: As mentioned, you can subclass DynaActionForm and create whatever custom validations you need for a particular set of fields. What's trickier is using different Validator validations without defining a new DynaActionForm. Here, the trick is that the Valid

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-05 Thread Adam Hardy
On 10/01/2003 05:44 PM Robert Leland wrote: On 10/01/2003 01:35 PM Andrew Hill wrote: IDE code completion is certainly one of my favorite reasons for using a real form :-) Actually doesnt copyProperties() also work with dynaforms? Adam Hardy wrote: Yes as long as you don't need locale-specific

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-03 Thread Graham Leggett
Brandon Goodin wrote: -Dynas massive struts configs are annoying and the runtime errors bite. This is one of my biggest irritations with using DynaActionForm - it has a number of bugs where exceptions are caught and then lost. -DynaForm time saving is insignificant (how long does it take for you

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-03 Thread Graham Leggett
Mainguy, Mike wrote: #1 ActionForm #2 DynaActionForm I use DyanActionForms, as they are less work. Less work, less time, less money, etc. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Sgarlata Matt
ot;. If you're interested, here's the BeanUtils API: http://jakarta.apache.org/commons/beanutils/api/index.html Matt - Original Message - From: "Robert Leland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, Oc

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Craig R. McClanahan
Nick wrote: So why can't you write a unit test for Dyna*Forms? It's easy to load the struts-config.xml and create the necessary form beans for out-of-container testing. This approach would be even easier if Struts provided some "mock objects" infrastructure with premade utility classes that

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Robert Leland
Adam Hardy wrote: Yes as long as you don't need locale-specific date and number conversion. So would this be a bug that needs to be addressed ? Does copyProperties have a method that takes a locale. On 10/01/2003 01:35 PM Andrew Hill wrote: IDE code completion is certainly one of my favorite reas

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Nick
e a unit test. > Its a very good school... > > ...I just happen to be playing truant today. > > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 1 October 2003 18:41 > To: Struts Users Mailing List > Subject: RE: [POLL] Act

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
From: news [mailto:[EMAIL PROTECTED] Behalf Of Pratik Patel Sent: Wednesday, 1 October 2003 19:29 To: [EMAIL PROTECTED] Subject: Re: [POLL] ActionFrom vs DynaActionForm +1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
r bit of time, and help jog the memory (especially when you have a big form with lots of funny named fields!) -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 19:47 To: 'Struts Users Mailing List' Subject: RE: [POLL] ActionFrom vs

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mainguy, Mike
D] Subject: Re: [POLL] ActionFrom vs DynaActionForm +1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: > #1 > > Reasons: > -Dynas massive struts configs are annoying and the runtime errors > bite. > -DynaForm time saving is insignificant (how long does it take for your >

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
] Subject: Re: [POLL] ActionFrom vs DynaActionForm +1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: > #1 > > Reasons: > -Dynas massive struts configs are annoying and the runtime errors > bite. > -DynaForm time saving is insignificant (how long does it take for your > ide to gen

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Pratik Patel
+1 ActionForms -1 Dyna*Forms Brandon Goodin wrote: #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). more reasons: - Easy to copy properties from ActionForm

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
http://marc.theaimsgroup.com/?l=struts-user&m=102696975022454&w=2 -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:59 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [POLL] ActionFrom vs DynaActionForm

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Ted Husted
iling List Subject: RE: [POLL] ActionFrom vs DynaActionForm I subscribe to that school. I believe everything should have a unit test. Its a very good school... ...I just happen to be playing truant today. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 Octob

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
"when?" -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:39 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm That was me and it was over a year ago when I was a struts newbie... -Origin

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
Reread my post, you illiterate pseudo-limey! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 6:45 AM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm I subscribe to that school. I believe everything should

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
: RE: [POLL] ActionFrom vs DynaActionForm That's fine if, of course, you subscribe to the school of thought prescribing a pre-code test (which I do not). Mark -Original Message- From: Vic Cekvenic [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:06 AM To: [EMAIL PROT

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Mark Galbreath
That's fine if, of course, you subscribe to the school of thought prescribing a pre-code test (which I do not). Mark -Original Message- From: Vic Cekvenic [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:06 AM To: [EMAIL PROTECTED] Subject: Re: [POLL] ActionFr

RE: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Andrew Hill
That was me and it was over a year ago when I was a struts newbie... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 1 October 2003 18:33 To: Struts Users Mailing List Subject: Re: [POLL] ActionFrom vs DynaActionForm I remember a while back I think it was

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
I remember a while back I think it was Mark made an excellent post about his problem with ActionForms that went along the lines of 'Old Macdonald had an ActionForm'. Well basically I think the problem was he had edited an existing ActionForm and messed up the getter / setter so that his JSP ref

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Adam Hardy
DynaActionForm +1 On 09/30/2003 06:52 PM Mainguy, Mike wrote: Next in my series of struts-user polls (please complain if this gets old). What sort of ActionForms does everyone use? #1 ActionForm #2 DynaActionForm Personally, I'm an advocate of the DynaActionForm as it seems to be able to do 80-9

Re: [POLL] ActionFrom vs DynaActionForm

2003-10-01 Thread Vic Cekvenic
+1 ActionForms. On of the benefits of Modular/MVC programing is that you can unit test a module, before integrating it. .V Andrew Hill wrote: Call me old fashioned but I always use good old hand coded ActionForms. Guess I like having something my compiler can get its teeth into. :-) Now that I

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Andrew Hill
Call me old fashioned but I always use good old hand coded ActionForms. Guess I like having something my compiler can get its teeth into. :-) Now that Im using Eclipse getters and setters are no problem at all. I love that generate getter & setter menu option. :-) (Validation isnt an issue for m

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Nick
Okay, you missed the message I sent out a few days ago regarding this. I've patched XDoclet to allow you to specify your DynaForm configs as XDoclet tags. An example: /** @struts.dynaform name="testForm" type="org.example.form.BaseDynaForm" */ public class Test { /** * @struts.dynaform

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Ted Husted
As mentioned, you can subclass DynaActionForm and create whatever custom validations you need for a particular set of fields. What's trickier is using different Validator validations without defining a new DynaActionForm. Here, the trick is that the Validator goes by the "attribute" property, n

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread José Ventura
etters and setters doesn't really bother me... []'s - ventura - Original Message - From: "Michael Ruppin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 30, 2003 2:33 PM Subject: Re: [POLL] ActionFrom

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Chen, Gin
12 PM To: Struts Users Mailing List Subject: Re: [POLL] ActionFrom vs DynaActionForm What else would you like the DynaForms for XDoclet to do? Since I released the patch to 1.2b3 (or beta 4?), I haven't had any feedback about it. On Tue, Sep 30, 2003 at 02:06:11PM -0400, Che

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Gandle, Panchasheel
: [POLL] ActionFrom vs DynaActionForm As Linus Tovalds said about SCO, "You must be smokin' crack." -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 1:28 PM #1 Reasons: -Dynas massive struts configs are annoying and the

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Nick
r 30, 2003 1:41 PM > To: Struts Users Mailing List > Subject: RE: [POLL] ActionFrom vs DynaActionForm > > > #2 - It was I revelation when I realised I didn't need to write ActionForms! > > (But one day soon I'm going to look at XDoclet to see what that can do for > me).

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Chen, Gin
ROTECTED] Sent: Tuesday, September 30, 2003 1:41 PM To: Struts Users Mailing List Subject: RE: [POLL] ActionFrom vs DynaActionForm #2 - It was I revelation when I realised I didn't need to write ActionForms! (But one day soon I'm going to look at XDoclet to see what that can do for me). Steve

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Steve Raeburn
#2 - It was I revelation when I realised I didn't need to write ActionForms! (But one day soon I'm going to look at XDoclet to see what that can do for me). Steve > -Original Message- > From: Mainguy, Mike [mailto:[EMAIL PROTECTED] > Sent: September 30, 2003 9:52 AM > To: [EMAIL PROTECTE

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Mark Galbreath
As Linus Tovalds said about SCO, "You must be smokin' crack." -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 1:28 PM #1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignifi

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Michael Ruppin
+1 (#1). m --- Brandon Goodin <[EMAIL PROTECTED]> wrote: > #1 > > Reasons: > -Dynas massive struts configs are annoying and the runtime errors > bite. > -DynaForm time saving is insignificant (how long does it take for your > ide to generate getters/setters?). > -Refactoring is easier is traditi

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Chen, Gin
#2 any chance I get. +1 on Wendy's validation comments too. Custom validation couldn't be easier in a dynaform -Tim -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 12:57 PM To: Struts Users Mailing List Subject: RE: [POLL] Act

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Brandon Goodin
#1 Reasons: -Dynas massive struts configs are annoying and the runtime errors bite. -DynaForm time saving is insignificant (how long does it take for your ide to generate getters/setters?). -Refactoring is easier is traditional ActionForms -Also, for all the time that you spend restarting your tom

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Koni Roth
#2 DynaActionForm I don't think custom validation is difficult. We use commons validation together with custom validation and it works fine. Koni Mainguy, Mike wrote: Next in my series of struts-user polls (please complain if this gets old). What sort of ActionForms does everyone use? #1 Acti

RE: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Wendy Smoak
> Next in my series of struts-user polls (please complain if this gets old). > What sort of ActionForms does everyone use? > #1 ActionForm > #2 DynaActionForm DynaValidatorForm, and what do you mean you can't do custom validation? I just override validate(...) and do my thing, then call super.vali

Re: [POLL] ActionFrom vs DynaActionForm

2003-09-30 Thread Sgarlata Matt
Definitely not old; I love the polls! There is not a single regular ActionForm in my project. #2 all the way. I will also mention that Craig McClanahan did some speed tests of ActionForms vs. DynaActionForms and since ActionForms use reflection whereas DynaActionForms do simple method calls on M