Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Nick Heudecker
ase share them. > > Also, how well does Xdoclet work with dyna forms? > > -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Monday, February 21, 2005 11:49 AM > To: Struts Users Mailing List > Subject: Re: ActionForm vs. DynaActionForm > &g

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
Hubert Rabago wrote: That would only get you an object to hold values, right? You'd still need to put validation rules somewhere. With an ActionForm, its validate() method should contain this. Of course, it could delegate it somewhere, but you'd be maintaining that, instead. I assume you mea

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Hubert Rabago
That would only get you an object to hold values, right? You'd still need to put validation rules somewhere. With an ActionForm, its validate() method should contain this. Of course, it could delegate it somewhere, but you'd be maintaining that, instead. This also would reduce ActionForm reuse,

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
First, let me say that I understand how Dyna forms work, but I don't use them. If I'm way off here or suggesting something that isn't possible, or already has been done, take it easy on me. :) I was suggesting that perhaps a parser could read a JSP that contains , and treat that form as a docum

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Hubert Rabago
with dyna forms? > > -Original Message- > From: Erik Weber [mailto:[EMAIL PROTECTED] > Sent: Monday, February 21, 2005 11:49 AM > To: Struts Users Mailing List > Subject: Re: ActionForm vs. DynaActionForm > > I didn't mean "better than either one". I mea

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Benedict, Paul C
derlying support, are different, just >> sounds dangerous. >> >> As for compile time type information, well, Strings are Strings >> whether you use one or the other. >> >> http://marc.theaimsgroup.com/?l=struts-user&m=109767197521860&w=2 >> >

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Hubert Rabago
Can you elaborate? Do you mean a utility that would parse incoming form values and then map them to my business objects? :) On Mon, 21 Feb 2005 11:48:33 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > I didn't mean "better than either one". I meant "better than building > your own ActionForm by

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Hubert Rabago
mpile time type information, well, Strings are Strings > whether you use one or the other. > > http://marc.theaimsgroup.com/?l=struts-user&m=109767197521860&w=2 > > On Mon, 21 Feb 2005 11:03:41 -0500, Benedict, Paul C > <[EMAIL PROTECTED]> wrote: > > What are

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
nciples, as well as their underlying support, are different, just sounds dangerous. As for compile time type information, well, Strings are Strings whether you use one or the other. http://marc.theaimsgroup.com/?l=struts-user&m=109767197521860&w=2 On Mon, 21 Feb 2005 11:03:41 -0500, Benedict, Pa

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
http://marc.theaimsgroup.com/?l=struts-user&m=109767197521860&w=2 On Mon, 21 Feb 2005 11:03:41 -0500, Benedict, Paul C <[EMAIL PROTECTED]> wrote: What are the advantages and disadvantages of choosing ActionForm vs. DynaActionForm? I ask this because I always found DynaActionForm to be

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Mark Bennett
1:04 AM To: struts-user@jakarta.apache.org Subject: ActionForm vs. DynaActionForm What are the advantages and disadvantages of choosing ActionForm vs. DynaActionForm? I ask this because I always found DynaActionForm to be more valuable ... until a co-worker picked my brain. He did not like the la

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Benedict, Paul C
imitations, as I already know their benefits. Thanks, Paul -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:33 AM To: Struts Users Mailing List Subject: Re: ActionForm vs. DynaActionForm I really would not give too much weight to the blog yo

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Hubert Rabago
support, are different, just sounds dangerous. As for compile time type information, well, Strings are Strings whether you use one or the other. http://marc.theaimsgroup.com/?l=struts-user&m=109767197521860&w=2 On Mon, 21 Feb 2005 11:03:41 -0500, Benedict, Paul C <[EMAIL PROTECTED]>

ActionForm vs. DynaActionForm

2005-02-21 Thread Benedict, Paul C
What are the advantages and disadvantages of choosing ActionForm vs. DynaActionForm? I ask this because I always found DynaActionForm to be more valuable ... until a co-worker picked my brain. He did not like the lack of type information at compile time. I agreed. Also, I don't know how