[jboss-user] [JBoss Seam] - Re: What am I doing wrong - nested Set in a h:dataTable

henrik.lindberg do-not-reply at jboss.com
Fri Mar 30 22:14:19 EDT 2007


thanks fernando, got it now - (a single row that is :)

I did not know that Set could not be used: I had read this in the seam documentation:

  |  @DataModel
  | 
  |     @DataModel("variableName")
  | 
  |     Exposes an attribute of type List, Map, Set or Object[] as a JSF DataModel into the scope of the owning component (or the EVENT scope if the owning component is STATELESS). In the case of Map, each row of the DataModel is a Map.Entry.
  | 
  |         . . . 
  | 
  |   | And infered (wrongly) that Set was also supported directly.
  |   | 
  |   | So, it should probably work if I obtain the Set from the parent bean (where I 'out' it) and 'out' the detail Set as a DataModel using Seam Annotation.
  |   | 
  |   | Am I on the right track?
  |   | 

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

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



More information about the jboss-user mailing list