0 Replies Latest reply on Aug 2, 2009 2:14 AM by edward winston

    entity-query defined in xml and dataModelSelection

    edward winston Newbie

      Hello all.

      I have an entity query that is defined in the components.xml.  I am trying to use the dataModelSelection of the entityQuery in a rich:extendedDataTable.  Without the selection attribute set in richfaces, I can see the data and scroll through it fine, so the entity query is getting created fine.  When I add the selection, I get the following exception :

      selection="#{myQuery.dataModelSelection}": Error reading 'dataModelSelection' on type org.jboss.seam.framework.EntityQuery_$$_javassist_seam_2

      Is it possible to use the dataModelSelection when using an entity query defined solely in xml?  The error seems to indicate that the method cannot be found for setting the selection, probably because it is defined in the superclass and not actually in EntityQuery.