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 2002/06/23 04:54:07 UTC

DO NOT REPLY [Bug 7491] - MessageResources key attribute defaults to null

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

MessageResources key attribute defaults to null

craig.mcclanahan@sun.com changed:

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



------- Additional Comments From craig.mcclanahan@sun.com  2002-06-23 02:54 -------
The "key" attribute used to be initialized as you suggested, but this causes the
ApplicationConfig hierarchy of objects to become non-Serializable.  Instead,
Struts now relies on the fact that the DTD for validatings struts-config.xml
files includes a default String value for this property, so if you do a
validating parse then the value gets initialized correctly.

Previously, Struts let you turn validation off via the "validating" init
parameter to the controller servlet.  This has been removed, because using
validation is now a requirement.  This change is in the 20020623 nightly build.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>