Hello, 

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

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
input. 

- There must be 3 extra properties on FormTag: for
example inputErrorStyle, inputErrorStyleClass,
inputErrorStyleId. 
- 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 http://fr.mail.yahoo.com

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

Reply via email to