what i do to accomplish this is something link that:

CheckGroup group = new CheckGroup("group", new ArrayList<Foo>());
group.add(new CheckGroupSelector("selector")); // <-- selects all options

and in the listview's populateItem method

item.add(new Check("check", yourModelObject));

hope that helps

regards, 
Michael

Mathias P.W Nilsson wrote:
> 
> Hi!
> 
> I need to add Checkboxes to a listview and a way to check, uncheck all
> checkboxes using a Link.
> any pointers would be appreciated.
> 
> 
> 
> 


-----
Michael Sparer
http://talk-on-tech.blogspot.com
-- 
View this message in context: 
http://www.nabble.com/checkboxes-and-Link-tp16757399p16761724.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]

Reply via email to