Paul: The Check is constructed *inside populateItem()*. This is already too
late, my output shows this happens after the Ajax ecent.

There is no way to construct a Check outside the populateItem, as far as I
know. This is how Checks are used:

CheckGroup cg = new CheckGroup("apps");
add(cg);
ListView appListView = new ListView("appList", appList) {
  @Override
  protected void populateItem (ListItem arg0)
  {
     Check app = new Check("app", arg0.getModel(), appsCheckGroup);
     arg0.add(app);
     
     // enabled/disabled here, or in Check constructor
  }
};
appListView.setReuseItems(true);
cg.add(appListView);



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Disabling-Individual-Checkboxes-in-CheckGroup-tp4658165p4658361.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to