On Mon, 08 Mar 2010 10:30:02 -0300, Eldred Mullany
<eldred.mull...@easypay.co.za> 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 GridDataSource implementation to the source
parameter of Grid.
Secondly the interface ie (GridDataSource) uses an onPrepare()to fetch
the data.
Events are just triggered in page, componente and mixin classes.
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.
Using a GridDataSource doesn't require a list. Grid's source parameter
receives a GridDataSource. Lists are converted automatically.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org