jsf:
<rich:dataTable id="files" styleClass="table" headerClass="header"
value="#{file}" var="fileRecord" rendered="#{file.rowCount>0}"
rowClasses="even,odd" onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
<rich:column>
前提条件:
有带有白色和灰色行的斑马样式表
步骤:
1.鼠标悬停在行上,它悬停正常
2.鼠标移开,它变成白色
后置条件:表失去了“斑马”
#{a4jSkin.tableBackgroundColor}
这是因为评估为白色而发生的。
如何保持斑马造型?
感谢您提供任何帮助。