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





------- Additional Comments From [EMAIL PROTECTED]  2005-04-19 21:57 -------
I don't know why theres ever been a need for the GLOBAL_MESSAGE key - is there 
any actual processing in Struts that uses it?

If someone wants a set of messages that don't relate to an actual property 
wouldn't it be simpler to just use something like "global" rather than this 
key...

  errors.add("global", new ActionMessage("..."));

That way theres no need for an additional attribute, you don't have to type in 
some long struts key and the existing "property" attribute will achieve the 
same results.

If there is something I'm missing though and there is a good reason for this, 
then the ActionErrors object also has a GLOBAL_MESSAGE key - which has a 
different value to the ActionMessages one. One option would be to change the 
ActionErrors key to reference the ActionMessages one, but that might cause 
backwards compatibility issues. Alternatively the "onlyGlobal" option should 
check for the presence of either keys.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to