LoadableDetachableModel#load() is invoked lazily only first access of the
model object.

Is your link part of the ListView? Does it access the row model before
changing the query?

Sven

-----Ursprüngliche Nachricht-----
Von: bilgisever [mailto:mehmetate...@hotmail.com] 
Gesendet: Dienstag, 15. November 2011 13:26
An: users@wicket.apache.org
Betreff: LoadableDetachableModel load() - Listview onclick()

     Simpy, I have a listview and a LoadableDetachableModel which is
listview
Model. Listview has a link to populate. This Link has onclick event. 
The event is update the query for LoadableDetachableModel to load data and
list them in listview.

 But the problem is that event of LoadableDetachableModel load() is run
before event of Link onclick().  
 So the current query is not up to date. The query is previous one. List
also a previous. Many way I have on my mind. But I want a real and stable
solution. 
Thank you in advance.

-----
www.mehmetatas.info
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/LoadableDetachableModel-load-List
view-onclick-tp4042769p4042769.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...@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