Action method never called
Hello,
I have identified a problem with my app which really puzzles me:
When I specifyprogrammaticallywhether a command button should be rendered,the action method never gets called whereas the button does get rendered. See below:
<h:commandButton action="#{ContractManagedBean.updateContractAction}" image="images/update.png" rendered="#{ContractManagedBean.contractForUpdate}"/>
When I specifydeclarativelywhether the button should be rendered,the action method does get called. See below:
<h:commandButton action="#{ContractManagedBean.updateContractAction}" image="images/update.png" rendered="true"/>
What I am missing?
Thanks in advance,
Julien.
pS. I have no error messages displayed by the h:messages and when I click the button the whole of the lifecycle run through all phases without problems.

