dev@jsftemplating.java.net

Re: JSFTemplating: Dynamic table question

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Thu, 13 Mar 2008 13:43:00 -0700

Hi Karam,

You can do:

<sun:table binding="#{some.method}" />

Then you could create create the components you need via java code.
However, you'd have have to create a LayoutComponent object to pass to
the factory that contained all the data that is normally found in the
.jsf file.

That's probably the simplest solution.

Ken

Karam Singh wrote:
> Hi Ken,
> Remember that dynamic table code that we have in jsftemplating, how
> will it work if I have multiple tableRowGroup entries? Currently (what
> I have been using so far) I have to define dynamicRowGroup in the jsf
> page itself. Using this approach, I would have to define several
> dynamicRowGroup on the jsf page. But I don't know how many I need
> before hand. So how would I take care of that scenario? Please let me
> know.
>
> thanks
> Karam