January 15th, 2004, 02:15 PM
css class attributes inside of struts html tags
How are you supposed to use the class="someCssStyle" attribute format inside of an struts html tag?
I tried just putting it in, but the jsp page won't compile:
<html:text property="ssn" class="textfield2" />
where textfield2 is a valid style attribute in my included css file.
Surely there is a way to specify this so that the taglib will render the proper output.
I'm not having any luck googling for an answer.
January 21st, 2004, 07:17 AM
I had the same problem... solved it using 'styleClass'.
Hope this helps!