dev@jsftemplating.java.net

Re: JSFTemplating: Dynamic table question

From: Karam Singh <Karam.Badesha_at_Sun.COM>
Date: Thu, 13 Mar 2008 13:48:19 -0700

Any pointer to some example code? Are you suggesting that I use it in a
jsp page using beans (like shown in woodstock preview examples)?

-Karam

Ken Paulsen wrote:
>
> 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