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/09/25 01:20:09 UTC

DO NOT REPLY [Bug 15604] - Struts framework should use getInstance Method for instantiating FormBeans

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=15604>.
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=15604

Struts framework should use getInstance Method for instantiating FormBeans





------- Additional Comments From niallp@apache.org  2004-09-24 23:20 -------
FormBeanConfig is now effectively a factory for form beans (since Struts 
1.2.4) - form beans are now created in the createActionForm(ActionServlet) 
method.

You can create your own custom FormBeanConfig which uses the getInstance() 
mechanism you describe and configure struts to use that custom implementation.

Can we close this now, or does it still need to be left open as a reminder for 
Struts 2.0?

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org