Only problem here is that I populate the dropdown like so:
List depts = new ArrayList<String> ();
depts.add("A");
depts.add("B");
How do I get this list into the dropdown using the suggested code below?
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-tp18720967p18723061.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]