[ http://issues.apache.org/jira/browse/MYFACES-954?page=all ] 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: http://issues.apache.org/jira/browse/MYFACES-954 > 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="#{x.name}" > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira