struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20784] - Enhanced Error Handling & Style Control
Date Sun, 03 Oct 2004 18:02:38 GMT
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=20784>.
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=20784

Enhanced Error Handling & Style Control





------- Additional Comments From niallp@apache.org  2004-10-03 18:02 -------
I have implemented a slightly modified version of your patch to add "error 
styles" to the html tags.

There are now 'errorStyle', 'errorStyleClass', 'errorStyleId' and 'errorKey' 
attributes for the following tags: CheckboxTag, FileTag, MultiboxTag, 
PasswordTag, RadioTag, SelectTag, TextTag and TextareaTag.

The 'errorStyle', 'errorStyleClass' and 'errorStyleId' attributes are 
equivalents of the 'style', 'styleClass' and 'styleId' attributes for errors 
(as you had them in your patch). 

The 'errorKey' attribute is the name of the request scope bean under which the 
error messages have been stored, with the default being Globals.ERROR_KEY if 
not specified - works the same as the 'name' attribute on the ErrorsTag.

Should be available in the next nightly build (date 4th October 2004) if you 
want to test them out, available here:

http://cvs.apache.org/builds/jakarta-struts/nightly/

Niall

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


Mime
View raw message