read the models page on the wiki, its a real eye opener

-igor

On Tue, Jul 29, 2008 at 3:04 PM, Edbay <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to