Author Login
Post Reply
Hi Igor
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?
Secondly the interface ie (GridDataSource) uses an onPrepare()to fetch
the data. I would then 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.drobiazko@(protected)]
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]
http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/grid
/GridDataSource.html
On Thu, Mar 4, 2010 at 7:58 AM, Eldred Mullany
<eldred.mullany@(protected)
> wrote:
> Hello everyone
>
>
>
> I would like to know if anyone has successfully implemented a hash map
> through a grid component. How do I display the desired value
> (map.get("key")) on my template using a grid component ? Is this
> possible in T5.1.0.5?
>
>
>
> Thanking you in advance
>
> Eldred Mullany
>
>
>
>
--
Best regards,
Igor Drobiazko
http://tapestry5.de/blog
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)