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 2003/07/13 06:31:43 UTC
DO NOT REPLY [Bug 21541] -
Limitation in struts model component
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21541
Limitation in struts model component
dgraham@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|Normal |Enhancement
Summary|LImitation in struts model |Limitation in struts model
|component |component
------- Additional Comments From dgraham@apache.org 2003-07-13 04:31 -------
Struts doesn't provide a "model component framework". You can use
PropertyUtils.copyProperties() to copy all of the form's data into your model
object in one line of code. You could also define your business objects as
interfaces and have Struts forms implement those interfaces to avoid writing 2
classes.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org