dev@jsftemplating.java.net

Re: JSFTemplating: Table Handler example

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Fri, 19 Jan 2007 14:06:31 -0800

Ken,
I think you forgot to add the file. Please attach the file and send
email again.

thanks
Karam

Ken Paulsen wrote:
>
> Hi Karam,
>
> Attached is an example table.jsf file that I have used to try out a
> few basic things. All the data is defined in the .jsf file so, it
> makes it simple to see what is required. There are additional
> features that are implemented as well that you may not need. Anyway,
> take a look and feel free to ask questions. One thing I will point
> out is that the "data" property for the TableRowGroup factory expects
> a List of List of Object (List<List<Object>>)... in the example the
> "Obect" type is "Map". The outer list is used to allow multiple
> sources to provide row information. The inner list contains rows.
> The Object is data for the row.
>
> Good luck!
>
> Ken
>
> Karam Singh Badesha wrote:
>> Hi,
>> Can someone please show some example handler code with only 2rows and
>> 2cols without any input? I just want to see how to fill in the data
>> for table. Your help is greatly appreciated. I looked at some
>> admingui example code but I still can't get the basics about how to
>> fill the table.
>>
>> thanks
>> Karam