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}
白色に評価されたために発生しました。
ゼブラのスタイリングを維持する方法は?
助けてくれてありがとう。