Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

displaying items in different colors in a <s:select> tag

Session Mwamufiya

2007-08-13

Replies:

Hi,

Is there a way, with the current version of struts 2, to use a conditional statement to color code elements that are displayed in a <s:select> tag. By this, I mean that if I have items in my list that are >4, then they're red, and if they are <= 4, then they are blue. Obviously, this is not the conditional statement that I would want to use, but it gives an idea of what I'm looking for. So for the super creative minds out there, here's a small nutcracker ;).

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.