如何修复XHTML代码中的“无法对模进行数字转换”错误

时间:2019-03-29 11:17:16

标签: xhtml

如何在我的xhtml文件中修复以下错误。

Error: 
Multiple annotations found at this line:
  - Could not make numeric conversion for modulo 
   operation
  - Syntax error in EL
  - This equals will always results a value of false

下面是我的代码行:

rowStyleClass="#{count.lineNo == 'Totals' or count.coolCar ? 'totalStyle' : empty rowIndex or rowIndex mod 2 ne 0 ? 'odd-row' :'even-row'}"

0 个答案:

没有答案