Just add a selector so that your class applies to the span who's parent LI's parent UL has the class "alert-go" (or whatever class name you're specifying).
-Wes On Fri, Aug 21, 2009 at 3:23 PM, Struts Two<struts...@yahoo.ca> wrote: > Before I migrate my struts application from 2.0.12 to 2.1.6 > > The following > > <s:actionmessage cssClass="alert-go"/> > > would generate: > > <ul> > <li> > <span class="alert-stop"> > You can not change your role to Agent. > </span> > </li> > </ul> > > which would display the message in the appropriate color defined by style > sheet class > > However, after I have migrated my code to 2.1.6, the generated code looks > like the following > > <ul class="alert-stop"> > <li><span>You can not change your role to Agent.</span></li> > </ul> > > The style-sheet effect is gone and the text is always shown in black. The > same thing happens for > > <s:actionerror cssClass="alert-stop"/> > > is there any way to fix this? > > > > > > __________________________________________________________________ > Ask a question on any topic and get answers from real people. Go to Yahoo! > Answers and share what you know at http://ca.answers.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org