[jboss-user] [JBoss Seam] - Re: Problems Nesting <h:dataTable>

gzoller do-not-reply at jboss.com
Mon Feb 19 23:42:04 EST 2007


My bad!  DataTable, or at least <ice:dataTable> doesn't seem to like the seam-gen generated default of Set<> for 1-m relationships in Entities.

In my Department code if I change Set to List throughout then like magic the data table works.

What was happening is that with Set<> the Set itself was being bound to the var attribute in the dataTable, not iterating through the Set and binding each item to var.

I'm not sure why it works this way but now that I know I'll just keep it in mind. :-)

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

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



More information about the jboss-user mailing list