Re: Refreshing loadable detachable model object inside an ajax call

2011-05-09 Thread lucast
ginal post. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3509490.html Sent from the Users forum mailing list archive at Nabbl

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-18 Thread Clint Checketts
to accept > Serialisable > instead of Long? > Maybe I'm missing something basic here. But your suggestion helped to get > past the initial hurdle. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-de

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-18 Thread lucast
t the initial hurdle. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3457227.html Sent from the Users forum mailing list a

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-18 Thread jcgarciam
rson.class, personId)); > } > > I fear I'm missing a very small detail that's stopping me from having this > working. > Thanks, Lucas > > > > ------ > If you reply to this email, your message will be added to the discussion > below: > > http

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-18 Thread lucast
.class, personId)); } I fear I'm missing a very small detail that's stopping me from having this working. Thanks, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3456789.

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-17 Thread Clint Checketts
The 'implicit super constructor' warning means that in your constructor you need to call 'super()' The 'complains on type T' part I'd need a little more info. Feel free to post the exact lines of code. -Clint On Sat, Apr 16, 2011 at 2:21 AM, lucast wrote: > However, when I try to extend the Ab

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-16 Thread lucast
and come back to it in a week's time. Thank you, Iain and @Clint for your posts. They are much appreciated. Kind regards, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3453635.html S

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-14 Thread Jeremy Thomerson
On Thu, Apr 14, 2011 at 3:51 PM, Iain Reddick wrote: > Firstly, that LDM code is broken - calling detach() on load() makes no > sense. > Right - you should *not* call detach from within load(). > Also, it will hit hibernate on every call to getObject(), as you aren't > caching the loaded Parent

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-14 Thread lucast
Thank you, Iain. I shall try that. Cheers, Lucas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an-ajax-call-tp3446979p3450740.html Sent from the Users forum mailing list archive at Nabble.com

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-14 Thread Iain Reddick
- From: "lucast" To: users@wicket.apache.org Sent: Wednesday, 13 April, 2011 7:20:15 PM Subject: Re: Refreshing loadable detachable model object inside an ajax call Hi Clint, thanks for your email. After reading your post, this is how I've implemented the LDM class: public

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-13 Thread lucast
idn't get that right straight away. I have implemented it as in the above example but when I call (Parent) model.getObject(); I get the same exception as before. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-loadable-detachable-model-object-inside-an

Re: Refreshing loadable detachable model object inside an ajax call

2011-04-13 Thread Clint Checketts
> Model is just the standard: parentService().load(Parent.class, id); > > How can I refresh the Loadable Detachable Model object without getting the > above exception and without having to refresh the entire page? > > > Any help will be greatly appreciated. > > > --

Refreshing loadable detachable model object inside an ajax call

2011-04-13 Thread lucast
-model-object-inside-an-ajax-call-tp3446979p3446979.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h