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
Any other takers? If any Struts committers have opinions, please 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

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
ase explain when dyna forms do not meet requirements. I am > very interested in knowing their limitations, as I already know their > benefits. > > Thanks, > Paul > > -Original Message- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Monday, Fe

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
I didn't mean "better than either one". I meant "better than building your own ActionForm by hand", and thus better than using Dyna form. Erik Erik Weber wrote: Wouldn't a parser handler that could build an ActionForm skeleton during a parse of a form JSP be better than either one? Erik Hubert

Re: ActionForm vs. DynaActionForm

2005-02-21 Thread Erik Weber
Wouldn't a parser handler that could build an ActionForm skeleton during a parse of a form JSP be better than either one? Erik Hubert Rabago wrote: I really would not give too much weight to the blog you linked to. If you've read the comments of the readers, you'd see that some of his arguments

RE: ActionForm vs. DynaActionForm

2005-02-21 Thread Mark Bennett
The DynaActionForm is great if you like to write scripting type code. I'd rather use encapsulation. Otherwise you'll have the same code repeated in a lot of your actions. -Original Message- From: Benedict, Paul C [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:04 AM To: stru

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
I really would not give too much weight to the blog you linked to. If you've read the comments of the readers, you'd see that some of his arguments aren't really that strong, and some are even totally incorrect. Personally, I use DynaActionForm for each form that it can support. Once I have a fo