myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: Mixing trinidad with tomahwak - <t:columns>
Date Mon, 10 Sep 2007 15:49:08 GMT
As a work around, if you are using facelets you could use c:forEach to
generate new column components during the facelet build. I haven't
used it yet, so not sure if it would work, but have you tried
<tr:iterator>? If it works, the view may be something like:

<tr:table value="#{rows}" ...>
  <tr:iterator value="#{columns}" ...>

Like I say, I have no idea if this would work, but worth a shot or at
least a look in the code for the DesktopTableRenderer


On 9/10/07, Martin Hinterndorfer <> wrote:
> Hi everyone!
> I need to build a table with a variable amout of columns (with different
> headers and data types).
> We are planning to use trinidad, whereas trinidad has no <columns>-Tag, like
> tomahawk has.
> As far as I know, I can use the binding attribute to build the
> component-tree programatically,
> but it looks as if the table will become quite complex (buttons, validators,
> converters...), so this is not a
> very preferable approach.
> Does anybody have experience in mixing a trinidad application with the
> tomahawk <t:dataTable> and <t:columns> components?
> Any pros or cons?
> Thanks in advance!
> Martin Hinterndorfer

View raw message