return list.isEmpty() ? null : list.get(0).getClass();
}
public Object getRowValue(int index) {
return list.get(index);
}
What have I done incorrectly ?
Many thanks Eldred
-Original Message-
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
I over complicated it. Thanks
-Original Message-
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com]
Sent: 08 March 2010 03:38 PM
To: Tapestry users
Subject: Re: Display a hashmap using a grid component
On Mon, 08 Mar 2010 10:30:02 -0300, Eldred Mullany
wrote:
> I am
On Mon, 08 Mar 2010 10:30:02 -0300, Eldred Mullany
wrote:
I am at a loss here, you make it sound easy. First of all how to I
implement own GridDataSource class and how to I tell tapestry to use it,
a contribution method I need to add to my AppModule?
You pass an instance of your GridDataSou
think I have to do some sort of cast / conversion
to list from a map that I pass to it as a parameter.
Not sure?
Thank u
Eldred
-Original Message-
From: Igor Drobiazko [mailto:igor.drobia...@gmail.com]
Sent: 04 March 2010 09:05 AM
To: Tapestry users
Subject: Re: Display a hashmap
Thanks Igor.
-Original Message-
From: Igor Drobiazko [mailto:igor.drobia...@gmail.com]
Sent: 04 March 2010 09:05 AM
To: Tapestry users
Subject: Re: Display a hashmap using a grid component
Just create your own implementation of GridDataSource [1] and pass it to
the
Grid component.
[1
Just create your own implementation of GridDataSource [1] and pass it to the
Grid component.
[1]
http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/grid/GridDataSource.html
On Thu, Mar 4, 2010 at 7:58 AM, Eldred Mullany wrote:
> Hello everyone
>
>
>
> I would like to know if an