有个小问题,想在列表里面用颜色区分不同类别的数据,怎么实现?
比如说:
<html:select property="spec">
    <html:options collection="specs" property="value"
      labelProperty="label" style="color:#000000"/>
</html:select>style属性可以指定显示的label字体颜色,如果说根据specs每一个不同记录的某一个属性来动态指定style的颜色值,不知道能不能做到