Hi,

Sidenote: I suggest you look at the LoadableDetachableModel, see:
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/model/LoadableDetachableModel.html

Regards,

Daan van Etten

On Wed, 2009-12-02 at 16:20 +0800, Lester Chua wrote:
> Hi,
> 
> I am changing my tables from RefreshingView to DataView.
> In the IDataProvider interface,
> 
> Is this a correct implementation for the model() function?
>     public IModel<MyRecord> model(MyRecord inmodel)
>     {
>         return new Model<MyRecord>(inmodel);
>     }
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to