you should try t:newspaperTable:
<t:newspaperTable value="#{data.list}" var="var" newspaperColumns="2">
<h:column>
<h:outputText value="#{var.attribute}" />
</h:column>
</t:newspaperTable>
see http://myfaces.apache.org/tomahawk/newspaperTable.html
for documentation
Regards,
Mathias
Paulo schrieb:
Tanks Mathias.
I need one panelGrid for put data in horizontal line and sequence columns.
<h:panelGrid columns="2" footerClass="subtitle"
headerClass="subtitlebig" styleClass="medium"
columnClasses="subtitle,medium">
<f:facet name="header">
<h:outputText value="Table with numbers"/>
</f:facet>
<h:outputText value="1" /> |
<h:outputText value="2" /> | ----> iterator (variable)
<h:outputText value="3" /> |
<f:facet name="footer">
<h:panelGroup>
<h:outputText value="one row" />
<h:outputText value=" " />
<h:outputText
value="grouped with panelGroup" />
</h:panelGroup>
</f:facet>
</h:panelGrid>
--
Paulo [EMAIL PROTECTED]
ICQ 55815884
Link3 Tecnologia Ltda
71 2102-6000
Em Ter 16 Ago 2005 04:23, Mathias Broekelmann escreveu:
> You have to use the datatable or t:datalist component:
>
> <h:datatable value="#{data.list}" var="var">
> <h:column>
> <f:facet name="header">
> <h:outputText value="Resumo das NotÃcias" />
> </f:facet>
> <h:outputText value="#{var.atribute}" />
> <f:facet name="footer">
> <h:outputText value="Veja mais..." />
> </f:facet>
> </h:column>
> </h:datatable>
>
> Regards,
> Mathias
>
> Paulo schrieb:
> > Hi,
> >
> > How use a panelGrid with iterator?
> >
> > example:
> >
> > <h:panelGrid columns="2">
> >
> > <f:facet name="header">
> >
> > <h:outputText value="Resumo das NotÃcias" />
> >
> > </f:facet>
> >
> > <(loop for iterator)>
> >
> > <h:outputText value="#{var.atribute}" />
> >
> > </(end loop for iterator)>
> >
> > <f:facet name="footer">
> >
> > <h:panelGroup>
> >
> > <h:outputText value="Veja mais..." />
> >
> > </h:panelGroup>
> >
> > </f:facet>
> >
> > </h:panelGrid>
> >
> > I try use a datable or datalist but not work.
> >
> > tanks,
> >
> > --
> >
> > Paulo Cordeiro
> >
> > [EMAIL PROTECTED]
> >
> > ICQ 55815884
> >
> > Link3 Tecnologia Ltda
> >
> > 71 2102-6000