So I've got an object called ExternalContact with a selected Boolean and
corresponding getters and setters.

ExternalContact contact = (ExternalContact) item.getModelObject();
contact.setSelected(true);
Check check = new Check("selected", new Model(contact));

However my check boxes are not being output checked as they should. They are
unselected, and a dom inspection shows they are, in fact, not selected.

ExternalContact contact = (ExternalContact) item.getModelObject();
contact.setSelected(true);
Check check = new Check("selected", new PropertyModel(contact, "selected"));

Doesn't work either. Any thoughts?
-- 
View this message in context: 
http://www.nabble.com/CheckGroup-not-selecting-according-to-model-tf4801412.html#a13737526
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