Re: Grid component and available rows number

2008-10-14 Thread Thiago H. de Paula Figueiredo
Em Tue, 14 Oct 2008 04:50:50 -0300, shymon <[EMAIL PROTECTED]> escreveu: As I mentioned in my first post, search engine which I use doesn't have suchmethods. The only one I have is Query({query_params}) which returns given portion of results and the total number of results. I can perform Quer

Re: Grid component and available rows number

2008-10-14 Thread Andy Huhn
Hi Shymon, The way I handle this is this: I use a DAO that I wrote as the source for my Grid. In a @BeginRender method on the page, I initialize the criteria in the DAO. Then, when the Grid calls prepare(), the DAO retrieves all matching rows from Hibernate (you could retrieve from XML-RPC), an

Re: Grid component and available rows number

2008-10-14 Thread shymon
-- View this message in context: http://www.nabble.com/Grid-component-and-available-rows-number-tp19964529p19969457.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Grid component and available rows number

2008-10-14 Thread Andy Huhn
Hi Shymon, If you don't want the pager to show up at all on the grid component, you can set pagerPosition="none" on the grid. This might prevent the row count from being generated at all. Andy On Tue, 2008-10-14 at 00:50 -0700, shymon wrote: > > > Renat Zubairov wrote: > > > > Hello > >

Re: Grid component and available rows number

2008-10-14 Thread shymon
d have to send ALL results through XML-RPC and limit them in prepare method - I don't think it's a good idea... regards, Shymon -- View this message in context: http://www.nabble.com/Grid-component-and-available-rows-number-tp19964529p19968644.html Sent fro

Re: Grid component and available rows number

2008-10-13 Thread Renat Zubairov
Is there any reasonable solution or do I have to write my own grid > component? > -- > View this message in context: > http://www.nabble.com/Grid-component-and-available-rows-number-tp19964529p19964529.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > >

Grid component and available rows number

2008-10-13 Thread shymon
sage in context: http://www.nabble.com/Grid-component-and-available-rows-number-tp19964529p19964529.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c