Hi all

I'm trying to popolate a dataTable with a collection property managed
by Hibernate

 <h:dataTable var="rowUser" value="#{userHandler.group.users}" >
                <h:column>
                    <f:facet name="header">
                        <h:outputText value="User name"/>
                    </f:facet>
                    <h:outputText value="#{rowUser.username}"/>
                </h:column>
            </h:dataTable>

at first it gave me an error saying that it cannot retrive "username
property" so i change to this

  <h:outputText value="#{rowUser.class}"/>


and surprise: the var obj is a org.hibernate.collection.PersistentSet
!!! I fear that myfaces do not recognize PersistentSet  as a
collection or suitable vallue for the datatable.


--
::SammyRulez::
http://sammyprojectz.blogspot.com

Reply via email to