Worked!!! Can you explain how putting the model name in quotes does the trick?
mypage extends page{ private string dept; public mypage() { add(new dropdownchoice("id", new propertymodel(this, "dept")); add(new listview("list", new propertymodel(this, "users")); } public list<user> getusers() { db.queryusers(dept); } } } -igor -- View this message in context: http://www.nabble.com/Refreshing-a-listview-using-AJAX-tp18720967p18722241.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]