2 Replies Latest reply: Mar 16, 2010 5:12 AM by veronica farina RSS

getRowCount() called many times

veronica farina Newbie

Hello,

My name is Veronica and I am new on this forum.

I am working with RichFaces 3.3.0.

We have performance issues and, right now my probem is the following:

We are extending the org.ajax4jsf.model.SerializableDataModel to manage the pagination ourself.

We noticed that almost 200ms are wasted calling the method getRowCount() when, normally, one call should be enough in each request.

How could we avoid that? The method is called like 38 times in each request sent from the datascroller no matter the number of rows displayed.

 

Thanks a lot for your help.

 

Veronica.