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

Reply via email to