Command Button not disabled properly
I am using a commandButton and its partial trigger is set to a table. The reason being that I need to update the label with the number of rows selected in table. And if no rows is selected, it should be disabled. So for the startup I have set the "disabled" attribute to true.
Now I am facing this problem. The button is disabled. But when I hover the mouse over it, I can see it being highlighted and it seems enabled and I can click it when the mouse is over it. Otherwise its disabled. Why is it behaving like this?