struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lei.java@gmail.com" <lei.j...@gmail.com>
Subject validation and CSS
Date Thu, 20 Dec 2007 01:05:47 GMT
Is there a way to apply style sheet (CSS) to the message validator
generates? For example, how to make the "Color me red" message in red when
it is shown up?


<validators>

<field name="pin">

<field-validator type="requiredstring">

<message>*Color me red*</message>

</field-validator>

</field>

</validators>

Many thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message