[jboss-user] [JBoss Seam] - Re: DataModel issue

CptnKirk do-not-reply at jboss.com
Thu Jul 27 15:33:11 EDT 2006


I think the original post is conceptually wrong.  <ui:repeat> is an iterator.  It can iterate over lists of things, including DataModels.  However it doesn't modify the model that is iterates over.  For example it will never set a DataModel's selected row and using @DataModelSelection with it will never work.

<ui:repeat> is a powerful substitue to using c:forEach.  It is not a direct replacement for h:dataTable.

Maybe I misunderstand the original question.  If you need @DataModelSelection to work, you'll need to go back to h:dataTable.

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

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



More information about the jboss-user mailing list