Re: Feedback wanted on IoC documentation

2007-11-10 Thread robert.sanders
Overall: Very good, if this stuff gets a little more fleshed out it will be a huge help in getting started with T5. I would suggest that on the last example in the overview (MonitorModule) you add a tiny bit of text explaining that the contribute method is part of Tapestry IoC's configuration

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Michael Courcy
Ok I think I have understood your explainations (actually I'm not pretty sure) The component is totally managed by tapestry and by injecting services through @Inject annotation you get more control on its fields. While in the other hand you encourage proper storage of service by making injec

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Martin Strand
Thanks for taking the time to explain. I haven't looked closely into T5, maybe constructor injection is impossible. I just don't understand why it would be insufficient in this case. Or is it just that you prefer annotated fields? Your example: Constructor injection is insufficient for co

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Howard Lewis Ship
Services are loaded by the normal class loader without any special trickery. We create classes (proxies and such), but don't modify existing classes for Tapestry IoC. This is necessary to ensure that services code inter-operates properly with all kinds of third party, legacy and other code that i

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Howard Lewis Ship
Services are loaded by the normal class loader without any special trickery. We create classes (proxies and such), but don't modify existing classes for Tapestry IoC. This is necessary to ensure that services code inter-operates properly with all kinds of third party, legacy and other code that i

T5: Grid component calls prepare() and getRowValue() with incorrect values

2007-11-10 Thread Andy Huhn
All, I just entered a JIRA: https://issues.apache.org/jira/browse/TAPESTRY-1901 I'm posting the details here in case anyone monitoring the list has the same issue. I believe there's a workaround. I have a grid defined with rowsPerPage = 2. When there are 3 elements in the GridDataSource, the u

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Martin Strand
I was just wondering the opposite - why not constructor injection for pages/components? Martin On Sat, 10 Nov 2007 21:43:10 +0100, Michael Courcy <[EMAIL PROTECTED]> wrote: Hi Thanks again for this effort of documentation. I have a question about dependency injection between services.

Re: Feedback wanted on IoC documentation

2007-11-10 Thread Michael Courcy
Hi Thanks again for this effort of documentation. I have a question about dependency injection between services. We can inject a service thanks to the @Inject annotation in a page component. I find this feature pretty handy. But (correct me if I'm wrong but I think I'm not because I test it)

T5 : How to use checkbox inside of the grid components

2007-11-10 Thread Penyihir Kecil
hi... i have list of daya displayed by grid component now i want to add checkbox for each row could anyone give me an example how to do it ? thnx dwi ardi irawan http://dwiardiirawan.blogspot.com Dwi Ardi Irawan ~ ...and the story goes ~ Blog : http://dwiardiirawan.blogspot.com ___

T5: Grid component, reorder and empty source

2007-11-10 Thread Arve Klev
hi, I am using the grid component to present the result from a search. When the data source is empty, returns "There is no data to display." as expected. but when I try to use the reorder parameter, an application exception occur: "...grid: xxx -- no source to determine list type from" Is it