struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <>
Subject RE: DynaBeans with struts faces
Date Fri, 09 Apr 2004 12:18:50 GMT
can you provide some code ?

i would use <h:dataTable>-Tag for "forEach" in JSF
and <h:colimn> for rendering <td></td>

like this:
<h:dataTable value=#{MaintenanceListForm.items} var{item}>

    <f:facet name="header">
	 <h:outputText value="HEADER_TEXT"/>

    <h:outputText value="#{}"/>

    <f:facet name="footer">
       <h:outputText value="footer_text"/>

note with <f:facet> you can "group" components logicaly.
dataTable has a "footer" and a "header"
it renders <tfoot> and <thead> for a HTML-Table

and look at
they have a nice example for editing table

hope that was helpful


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message