Replace t:repeater by t:dataList and you have it :)
http://myfaces.apache.org/tomahawk/dataList.html
El mar, 08-05-2007 a las 08:09 -0600, Carlos Ortiz escribió:
> Hi I like to know if in Myfaces (or any compatible lib) exist something
> like this( or how i do make ):
>
> <t:repeater var ="myVar" value="#{MyVarArray}" ....>
>
> <p>
>
> <h1>............</h1>
> <h:outputtext value="#{myVar.Text}" />
>
> <div>
> <h:outputtext value="#{myVar.Text2}" />
> </div>
>
>
> </t:repeater>
>
> the idea is this control will "draw" Size of MyVarArray the text
>
> <p>
>
> <h1>............</h1>
> <h:outputtext value="#{myVar.Text}" />
>
> <div>
> <h:outputtext value="#{myVar.Text2}" />
> </div>
>
> Example MyVarArray.size =2 then the HTML Result Will be
>
> <p>
>
> <h1>............</h1>
> TEXTA1
>
> <div>
> TEXTA2
> </div>
>
> <p>
>
> <h1>............</h1>
> TEXTB1
>
> <div>
> TEXTB2
> </div>
>
>
>
> similar to datatable but no in a table ...
>
> thanks
>
>
>
--
_______________________________________________
Josué Alcalde González
[EMAIL PROTECTED]
Dpto. Desarrollo
CSA - Centro Regional de Servicios Avanzados
C/ López Bravo, 1
Pol. Ind. Villalonquéjar (Burgos)
Tel. (+34) 947 256 250
Fax. (+34) 947 256 583
Web: http://www.csa.es