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 Query in getAvailableRows(), but then I would have to send ALL results through XML-RPC and limit them in prepare method - I don't think
it's a good idea...

It is really not a good idea, but you have no other choice here, as your search implementation (accessed through XML-RPC) does not support paged queries. Therefore, implementing GridDataSource gives no advantage over passing a List directly to Grid. At least you have the paged listing interface. ;)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to