Thanks for your response.

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

what class are you talking about here?

yes, the css is embeded and the errormsg is also in there. It works fine in other pages. except for this nested page.

.errormsg{
color: red;
background: inherit;
font-size: 11px;
border: 1px solid red;
padding: 3px;
}

Hoping to get an answer for this. Thanks.


From: "David Friedman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: RE: errorStyleClass not working
Date: Wed, 19 Jul 2006 12:18:24 -0400

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]


_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


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

Reply via email to