I was asking what your html:text tag outputs. Can you post what it puts into your web page (when you view the source of the generated page?) You know, the generated html code: (example below)
<input type="text" name="something" value="some value" class="errormsg" /> For what it is worth, your css class definition worked fine in a test page / form of mine. You said "nested page". Are you including one page inside another or do you simply mean "nested inside a displaytag library tag"? Regards, David -----Original Message----- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 12:53 PM To: user@struts.apache.org Subject: RE: errorStyleClass not working 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]