An action will not fire if the action source is not rendered
on the *current* request, regardless of the fact that it was
rendered on the last request. In your case, #{bean.list} is
probably in request scope, and it is simply being rebuilt too
late in the request cycle (in the invoke application phase if
you are doing this in an action method).
You can probably solve this using preserveDataModel=true, or
by preserving your list with t:saveState.
---- Original message ----
>Date: Sat, 3 Dec 2005 17:33:24 -0800 (PST)
>From: Dave <[EMAIL PROTECTED]>
>Subject: <commandButton> does not work inside <dataList>
>To: [email protected]
>
> <commandButton> or <commandLink> inside a
> <dataList> does not work. Its action listener and
> action binding method were not called.
>
> any one has experienced the same issue? Thanks.
>
> <t:dataList
> styleClass="standardList"
> var="x"
> value="#{bean.list}"
> layout="simple"
> rowCountVar="rowCount"
> rowIndexVar="rowIndex">
> <h:commandButton value="#{x.name}"
> actionListener="#{bean.listener}"
> action="#{bean.go}"/>
>
> </t:dataList>
>
> ------------------------------------------------
>
> Yahoo! Personals
> Single? There's someone we'd like you to meet.
> Lots of someones, actually. Yahoo! Personals
Dennis Byrne