Typically, the LDM that's used to obtain each row in your result set
is only called one time, you shouldn't be re-querying individually for
each item in the list.  LDM's constructor that takes a value will
cache that value for the duration of the current request cycle.


On Mon, Feb 28, 2011 at 11:09 AM, vov <[email protected]> wrote:
> You can simply use something like this in your realization of DataProvider:
>
> @Override
>  public IModel<Entity> model(Entity entity)
>  {
>    return new Model<Entity>(entity);
>  }
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Perfomance-of-IDataProvider-tp3325777p3328194.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to