You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/06/15 01:19:24 UTC
DO NOT REPLY [Bug 29565] -
ActionForm bean should be HAS-A not IS-A
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29565>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29565
ActionForm bean should be HAS-A not IS-A
Joe@Germuska.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Normal |Enhancement
------- Additional Comments From Joe@Germuska.com 2004-06-14 23:19 -------
There is substantial debate in the mailing list archives over whether ActionForm should have been an
interface or not. There are arguments to the effect that making it an interface would have promoted
some dubious programming practices. I think that this suggestion bumps into some of the same
arguments. (These arguments mostly happened "before my time" and I don't have strong feelings
about them, but some do.)
Also, it is pretty easy to use BeanUtils to copy properties from an ActionForm to a domain object.
For these reasons, I'm changing this from a bug to an enhancement request. Still, I think it's justifiable
to argue that Struts would work better for people if it was different, so this should stay open and garner
some more opinions, possibly some votes, and ideally, some patches...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org