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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to