Sheadley, ListView re-create its list items every request by default, see ListView#setReuseItems, RepeatingView and http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ . Than you can chose your solution
On Mon, Feb 7, 2011 at 4:57 PM, sheadley3228 <steven.head...@cats.usdoj.gov>wrote: > > I have a problem updating my check box on a call to onUpdate of a > AjaxCheckBox component. > > Within my PageableListView populateItem call: > > > AjaxCheckBox ajaxCheck = null; > PageableListView userSearchPageView = new PageableListView("mychanges", > userSearchResults, RECORDS_PER_PAGE) > { > @Override > protected void populateItem(ListItem arg0) { > ... > ... > ... /* I create an AjaxCheckBox */ > ajaxCheck = new AjaxCheckBox("verifyflag", new > PropertyModel(ResultPage.this, "checkFalse")) > { > @Override > protected void onUpdate(AjaxRequestTarget arg1) > { > > ajaxCheck.setOutputMarkupId(true); > ajaxCheck.setEnabled(false); > arg1.addComponent(ajaxCheck); > } > } > > This does not disable my checkbox. Any Help would greatly be appreciated. > > > Regards, > > sheadley > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxCheckBox-not-Disabling-Checkbox-on-call-to-onUpdate-tp3264816p3264816.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 > > -- Pedro Henrique Oliveira dos Santos