myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: commandButton action not executed
Date Wed, 02 Apr 2008 17:10:27 GMT
Is todoListBean session scoped? If your todoList is not available
during decode, the rendered will fail and non-rendered components are
not decoded.

On Wed, Apr 2, 2008 at 10:54 AM, Scott Belnap <scott_belnap@byu.edu> wrote:
> 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?
>
>
>

Mime
View raw message