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 2001/11/07 21:27:54 UTC
DO NOT REPLY [Bug 4710] New: -
Generic Form Beans
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=4710>.
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=4710
Generic Form Beans
Summary: Generic Form Beans
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: ericpabst@discoverfinancial.com
Currently, it appears that a form bean must manually be created for each form.
There are times when this is not desired and should not be necessary. By
allowing the form tags to use both the reflection API and look for generic
methods with the signatures of get(String s) and set(String s, Object o)
(Note: it would be nice if it did not force the second parameter to be of type
Object), this flexibility would be allowed. This also allows Struts to provide
a default form bean that simply has those two methods and stores a Map
internally (or just provide HashMap as the default form bean). This is
important for projects like www.ofbiz.com where generic attributes are heavily
used for other reasons.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>