myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <>
Subject [jira] Closed: (MYFACES-954) <commandButton> does not work inside <dataList>
Date Fri, 16 Dec 2005 19:05:46 GMT
     [ ]
Mike Kienenberger closed MYFACES-954:

    Resolution: Invalid

Unlikely to be a bug in dataList.   I'm using the latest MyFaces with nearly identical code
and it works fine for my application.

You're probably using a request-scoped bean or bean.list is empty on resubmit.
Try using t:saveState on your bean or setting your bean to be session-scoped.

I recommend asking on the mailing list first before opening a JIRA whenever you think you
find a major bug that would have affected many users to verify it's a bug.   The exception
is when you've shown that it's a regression (it worked in another version of MyFaces but the
same code doesn't work in the current version).

> <commandButton> does not work inside <dataList>
> -----------------------------------------------
>          Key: MYFACES-954
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: Windows XP, JBoss 4.0.3 SP1
>     Reporter: Dave

>  <commandButton> or <commandLink> inside a <dataList> does not work.
Its action listener and action binding method were not called. 
>     <t:dataList        
>         styleClass="standardList"
>         var="x"
>         value="#{bean.list}"
>         layout="simple"
>         rowCountVar="rowCount"
>         rowIndexVar="rowIndex">
>         <h:commandButton value="#{}" 
>            actionListener="#{bean.listener}"
>            action="#{bean.go}"/>
>     </t:dataList>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message