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
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
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
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-
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
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
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
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
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
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
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
>
]
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
+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
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
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
"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
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
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
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
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
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
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
+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
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
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
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
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
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
: [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
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).
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
#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
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
+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
#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
#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
#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
> 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
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
39 matches
Mail list logo