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 07:36:23 UTC

DO NOT REPLY [Bug 4444] - Feature to display errors against individual input fields

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

Feature to display errors against individual input fields

craig.mcclanahan@sun.com changed:

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



------- Additional Comments From craig.mcclanahan@sun.com  2002-06-23 05:36 -------
You can already do this by using the "property" attribute on <html:errors> to
grab  only the error messages for that particular property name.  If there are
no errors for that property, the tag will output nothing.

In Struts 1.1, as of nightly build 20020623, you have the ability to define
"errors.prefix" and "errors.suffix" messages in your application resources,
which are rendered before and after each message that is actually selected. 
That lets you do things like listing the messages in <li> elements, without
embedding the HTML markup directly in the messages.

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