You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Kyser <kt...@comcast.net> on 2003/02/28 15:15:42 UTC
Best place to wrap validator error messages in css class selectors?
Hello,
Is there a better way to wrap up the error messages returned from the
validator
framework in a css class selector?
It works 'ok' to use:
<span class="formErrorMessage">
<html:error property="username" bundle="VALIDATOR_BUNDLE"/>
</span>
directly in my jsp, but that seems to junk up the jsp page a bit.
I don't really want to put it directly in the validator-specific
resource file either,
since that's somewhat generic, and the class selector [c]ould be
specific to an app. (actually, haven't even tried it there, just seems
like the wrong place)
How do you all address this generally?
TIA,
-jeff
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org