[jboss-user] [JBoss Seam] - Re: Getting outjected object's attributes

ferd0 do-not-reply at jboss.com
Sun Nov 25 07:18:16 EST 2007


Actually, I would like to do something like this:
<h:dataTable value="#{hotel.rooms}" var="room">
  |        <h:column>
  |                 <h:outputText value="#{room.number}" />
  |        </h:column>
  | </h:dataTable>
but it is not working.

The problem is, that if I would outject list "rooms", and use <h:dataTable value="#{rooms}" var="room"> it would work, but the version with "hotel.rooms" is not working.

I don't know if I'm using JBoss EL (I am using templates generated by seam-gen).

My environment: JBoss AS 4.0.5, JBoss Seam 1.2.1.

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

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



More information about the jboss-user mailing list