[jboss-user] [JBoss Seam] - <h:dataTable> does not display properly

pauls123 do-not-reply at jboss.com
Sun Oct 29 01:00:32 EST 2006

In a facelets page I have the following EL expression
and it properly displays the 4 elements in the collection.

When I access the items of the collection using <h:dataTable>, as follows:

  |       <h:dataTable value="#{meetsShowCtlr.allMeets}" var="meet">
  |          <h:column>
  |             <f:facet name="header">Meet Id</f:facet>
  |             #{meet.id}
  |          </h:column>                        
  |          <h:column>
  |             <f:facet name="header">Name</f:facet>
  |             #{meet.name1}
  |          </h:column>                        
  |        </h:dataTable>

the code does iterate over the 4 elements in the collection, but the values for the properties are all '0' for 'id' and an empty string for 'name1'.

Any idea why the properties cannot be retrieved within the <h:dataTable>?



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

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

More information about the jboss-user mailing list