struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan <>
Subject Feature Request: Highlighting Errors with attributes in form tag
Date Fri, 03 Jun 2005 14:47:49 GMT

I have a feature request about the "Highlighting
Errors" stuff on the HTML Input Tags. (errorStyleX

Each input must have an errorStyleX attribute to have
highlighting on it. Wouldn't it be better to have only
one attribute on html:form tag ?

I made a test with a FormTag subclass and TextTag
subclass, and it works, all fields in error are
highlighted without adding an extra attribute on each

- There must be 3 extra properties on FormTag: for
example inputErrorStyle, inputErrorStyleClass,
- In BaseHandlerTag class, prepareStyles method must
get the parent FormTag, and set each one of its own
errorStyleX  properties with corresponding
intputErrorStyleX properties in parent FormTag, but
only if its own errorStyleX properties are null.
Therefore, a new errorStyleX value in an Input tag can
override inputErrorStyleX of its parent form.

Do you think this is an interresting extra feature to
add ?


Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos
Créez votre Yahoo! Mail sur

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message