this is a follow-up of my previous topic:
viewtopic.php?f=138&t=66797
I created a new post because the question is a bit different. I hope it is OK.
I am using Rain theme. I would like to change the color of my button if it disabled to light grey.
The changing of the logic and the usage of light grey is fine.
Code: Select all
<p:commandButton styleClass="#{!prod.isCancelable() ? 'custom-light-grey' : 'danger-button'} p-mr-2" disabled="#{!prod.isCancelable()}">
Can please someone tell me how to do that?
Many thanks and best regards,
Krisztyan
Primefaces version: 8.0.4
Rain theme: 1.0.0