Tapestry5 : URL Re-writing : Pass parameters to transformPageRenderLink method

2015-05-15 Thread Pratik Patel [C]
This is the same question on stackoverflow. http://stackoverflow.com/questions/30259617/tapestry5-url-re-writing-pass-parameters-to-transformpagerenderlink-method I am upgrading tapestry from 5.2.4 to 5.3.8 and am stuck at re-implementing the URL re-writing part. In my application a user acco

Re: Grid mixin: grid datasource get instancied on each use

2015-05-15 Thread Lance Java
I'm not entirely sure the problem but it's likely caused by @BindParameter which is likely invoking the binding each access. Try @InjectContainer Grid grid; And grid.getDataSource(). This will give you an instance of CachingDataSource which should have the lazy behaviour you want.