a) Have you checked your output to make sure the class is set in the html
when an error occurs?

b) What is the CSS you specify for that "errormsg" style definition?

c) Have you embedded your style definition in the web page to ensure it is
loaded properly?  FireFox has a good plugin called "web developer" that
includes a live CSS editor so you can make sure your css is loaded and
"adjust" it to see how different changes alter your page appearance.

Regards,
David

>From: "fea jabi" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>To: user@struts.apache.org
>Subject: errorStyleClass not working
>Date: Mon, 17 Jul 2006 11:44:49 -0400
>
>.......................
><display:column titleKey="lbl.hrs">
>         <c:set var="ggggg" value="hrs[${rows_rowNum -1}].adHrs"/>
>
>         <c:if test="${rows.adHrs != null}">
>                 <html:text property="<%=
>pageContext.getAttribute("ggggg").toString() %>"
>errorStyleClass="errormsg"/>
>         </c:if>
></display:column>
>
></display:table>
>
></html:form>


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

Reply via email to