onmouseover « Data « JSF Q&A





1. JSF Conditional formatting for onmouseover and such attributes    stackoverflow.com

I'm trying to format a panelgrid according to a value in the backing bean. I'm currently trying this as the value of the onmouseover attribute:

this.className=#{(actions.currentlySelectedActionButton == 0)?'actionButton actionButtonChosen':'actionButton'};
whereas the CSS looks like ...