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/17 17:36:05 UTC

DO NOT REPLY [Bug 29628] - Configuration tag ignored

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

Configuration tag ignored

niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From niallp@apache.org  2004-06-17 15:36 -------
Your assumption that the <set-property> element in the form bean section of the 
struts-config.xml should set a property on every form bean created is incorrect.

Using <set-property> in a form bean declaration will set a property in the Form 
Bean's configuration class (FormBeanConfig). To use it though you need to 
extend FormBeanConfig to create your own custom form bean configuration and add 
getters/setters to your  custom config class for the new property.

Unfortunately Form Bean configuration isn't documented in the "configuration" 
section of the User Guide:

http://jakarta.apache.org/struts/userGuide/configuration.html

If you want to rectify this situation then patches are always welcome.

Niall

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