3 Replies Latest reply on Jan 23, 2007 5:24 AM by Pete Muir

    IMPORTANT: Changes to entity-query from 1.1.GA to 1.1.1.GA

    fhh Expert

      Hello!

      Maybe I have missed something in the last weeks (I'm not following the forum to closely) but there seems to be an important API change in 1.1.1.GA or maybe the documentation on 1.1.GA is wrong:

      <framework:entity-query name="people" eqbql="select p from Person p"/>
      


      <h1>List of people</h1>
      <h:dataTable value="#{people}" var="person">
       <h:column>
       <s:link view-id="/editPerson.jsp" value="#{person.firstName} #{person.lastName}">
       <f:param name="personId" value="#{person.id}"/>
       </s:link>
       </h:column>
      </h:dataTable>
      


      does not work for me. I have to use

      <h:dataTable value="#{people.resultList}" var="person">


      I hope this safes some people some trouble.

      Regards

      Felix

      PS: I hope this entity-query stuff will work together with the the selectItems component. This would be IMHO the biggest step forward to improve the average working day of the business application developer in years. Not only a step but a leap...