[jboss-user] [JBoss Seam] - IMPORTANT: Changes to entity-query from 1.1.GA to 1.1.1.GA

fhh do-not-reply at jboss.com
Mon Jan 22 20:29:37 EST 2007


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...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005088#4005088

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005088



More information about the jboss-user mailing list