I have a page that has the following commandButton.

<h:commandButton value="Update List" action="#{todoListBean.update}"
rendered="#{todoListBean.todoList.listId ne 0}" />

When I click on the button it doesn't execute the action it just
refreshes the page.  But if I remove the rendered property so the
commanButton tag looks like:

<h:commandButton value="Update List" action="#{todoListBean.update}" />

jsf will execute the action #{todoListBean.update}.  Does anyone know
why when I have the rendered property in the jsf tag the action doesn't
get executed?


Reply via email to