<ui:repeat value="#{coreGridBean.heroBeanList}" var="hero"
offset="0" step="1" size="#{hero.size}" varStatus="status">
<tr class="#{status.even ? 'evenColumn' : 'oddColumn'}">
<td>#{status.index}</td>
<td>#{hero.id}</td>
<td>#{hero.race}</td>
<td>#{hero.name}</td>
</tr>
</ui:repeat>
I wonder whether the usage of class="#{status.even ? 'evenColumn' : 'oddColumn'}"
is correct.
I feel a bit guilty of using single quotes instead of double quotes. But in this case, double quote fails, single quote wins.
class='#{status.even ? "evenColumn" : "oddColumn"}'
– Safford