posted 11 years ago
I have one button and i want to add a onmouseover and onmouseout effect to that button. I have two images for both onmouseover and onmouseout effects I have tried this
<p:commandButton onmouseover="../images/add_on_18.png"
onmouseout="../images/add_off_18.png"
value="New"
actionListener="#{routeController.createNewRoute}"
update=":routeHeaderForm"/>
Can you help me?