I took a look around, and I can't seem to find any way to select an
input that has an error associated with it using css. The samples I've
looked at have ways to style the error message text, the label, etc, but
no way to style an input. I'm not seeing this "red border" either...
does anyone recall which theme provides this?
Thanks,
-Adam
Dave Newton wrote:
--- On Wed, 11/12/08, Adam Lister <[EMAIL PROTECTED]> wrote:
I'm trying to figure out how apply a class or some kind
of style to a input field when there is a validation error
in struts 2.
I generally just override the supplied CSS (which does things like giving text
boxes with errors a red border already, IIRC). Highlighting the entire row
currently involves more CSS selectorship than necessary, and I haven't gotten
around to applying my patch that provides more DOM names and ids yet.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]