[ http://issues.apache.org/jira/browse/MYFACES-286?page=comments#action_12314428 ]
Bruno Aranda commented on MYFACES-286: -------------------------------------- I don't recommend this patch be applied to the extended dataTable as it is an addition of what it is told in the spec (section 4.1.3.2). It says that the value is normally a DataModel, but a DataModel wrapper has to be provided automatically to the following types: - java.util.List - Array of java.util.Object - java.sql.ResultSet (which therefore also supports javax.sql.RowSet) - javax.servlet.jsp.jstl.sql.Result - Any other Java object is wrapped by a DataModel instance with a single row. It would be understood to add such an addition to the myfaces extended component, but IMO it should respect exactly the spec. You can always convert your Set to List. Best regards, Bruno > x:datatable doesn't support Set > ------------------------------- > > Key: MYFACES-286 > URL: http://issues.apache.org/jira/browse/MYFACES-286 > Project: MyFaces > Type: Bug > Versions: Nightly Build > Reporter: Low Heng Sin > Attachments: HtmlDataTableHack.patch > > x:datatable doesn't support the java.util.Set interface. This is caused by > the overriden createDataModel method in HtmlDatatableHack doesn't handle > generic java collection interface ( It does in UIData ). -- 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
