Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 98322 invoked from network); 3 Oct 2004 18:00:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 18:00:53 -0000 Received: (qmail 49577 invoked by uid 500); 3 Oct 2004 18:00:45 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 49488 invoked by uid 500); 3 Oct 2004 18:00:44 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 49475 invoked by uid 99); 3 Oct 2004 18:00:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 03 Oct 2004 11:00:44 -0700 Received: (qmail 12014 invoked by uid 50); 3 Oct 2004 18:02:38 -0000 Date: 3 Oct 2004 18:02:38 -0000 Message-ID: <20041003180238.12013.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@struts.apache.org Cc: Subject: DO NOT REPLY [Bug 20784] - Enhanced Error Handling & Style Control X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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