myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber" <>
Subject Re: Tobago Sheet control with dynamic column count
Date Thu, 26 Oct 2006 19:20:01 GMT
Hi Mika,

you can use the bindig attribute at the tc:sheet tag and create the
sheet component (and all children components) dynamicaly in your
application code.



2006/10/26, Mika Salminen <>:
> Hi,
> I'm trying to make Tobago sheet control to show results of a database
> query. The problem I have is that I don't know how to generate columns for
> the sheet control dynamically so that I don't have to hard-code the number
> of columns in jsp with <tc:column /> -tags. There can only be as many
> columns as there are column tags. The number of resultset columns is not
> known in advance so there should be a way to generate columns at run-time.
> I found that in Tomahawk you can use <t:columns /> -tag, but how can I do
> it with Tobago?

View raw message