Can you please show the code? Iv been trying to do something similar
------Original Message------
From: wholalotta
To: [email protected]
ReplyTo: [email protected]
Subject: Re: AW: DropDownChoice model is not updated when
wantOnSelectionChangedNotifications is overriden
Sent: Nov 11, 2011 6:55 AM
Thanks for the quick response Sven...But eclipse gives error for the code you
suggested
I changed it as below;
@Override
protected void onSelectionChanged(Object criteria) {
criteriaMap.put("user",((Criteria) criteria).getUserCriteria());
}
But using onSelectionChanged does not render the page..I need to reload
table data from database
according to the choice is made in selectBox..Because of that I used
"wantOnSelectionChangedNotifications"
final LoadableDetachableModel data= new LoadableDetachableModel() {
@Override
protected Object load() {
List<Data> dataArrayList = dataDao.findAll();
return dataArrayList;
}
};
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-model-is-not-updated-when-wantOnSelectionChangedNotifications-is-overriden-tp4031368p4031416.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]