You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Lester Chua <ci...@gmail.com> on 2009/12/02 09:20:28 UTC
IDataProvider
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: IDataProvider
Posted by Pieter Degraeuwe <pi...@systemworks.be>.
I agree; JRebel is realy handy, but sometimes it gives realy nasty effects.
In my case, restarting my appserver solves the problem..
On Wed, Dec 2, 2009 at 10:38 AM, Lester Chua <ci...@gmail.com> wrote:
> Thanks for the reply,
>
> I got very weird errors popping and grew suspicious of the instances that I
> am working with (using JRebel for superfast deployment).
> So I scratched the class I was working with and recoded from scratch.
> Restarted my instance and everything works now. I guess I need to pay once
> in a while for mucking around with a classloader tool like JRebel.
>
> Regards,
>
> Lester
>
> Daan van Etten wrote:
>
>> 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-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Pieter Degraeuwe
Systemworks bvba
Belgiƫlaan 61
9070 Destelbergen
GSM: +32 (0)485/68.60.85
Email: pieter.degraeuwe@systemworks.be
visit us at http://www.systemworks.be
Re: IDataProvider
Posted by Lester Chua <ci...@gmail.com>.
Thanks for the reply,
I got very weird errors popping and grew suspicious of the instances
that I am working with (using JRebel for superfast deployment).
So I scratched the class I was working with and recoded from scratch.
Restarted my instance and everything works now. I guess I need to pay
once in a while for mucking around with a classloader tool like JRebel.
Regards,
Lester
Daan van Etten wrote:
> 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-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: IDataProvider
Posted by Daan van Etten <da...@stuq.nl>.
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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org