Ajax request and lifecycle of model attach/detach

2009-05-27 Thread Wilter du Toit
Hi When I use an AjaxLink and it's onClick event is called, it seems that none of the components of the page that the AjaxLink is on has its attach/detach model methods called. Here is an example (I just made this quickly and roughly in order to demonstrate the issue): - package

Re: Ajax request and lifecycle of model attach/detach

2009-05-27 Thread Igor Vaynberg
models are loaded lazily, eg imodel does not have an attach(), only a detach(). so unless your link accesses the model - eg invokes getobject() on it nothing will be loaded. at the end of request all models should get detach() called. -igor On Wed, May 27, 2009 at 2:30 AM, Wilter du Toit