Hi, I have class with collection like: @DataModel List myCollection @DataModelSelection MyEntity selectedEntity;
and in view <h:dataTable .... this works for entity, but can I do i with some selected columns from native query, like: List myList = em.createNativeQuery("SELECT object.A, object.B"); and add this list to @DataModel? @DataModel List myList So what should be as datamodelSelection? @DataModelSelection Object selectedObject? this wil work? How can i create list with some objects and select current object from list? MyEntity selectedEntity; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043947#4043947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043947 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user