call form.clearinput() after you change its model. otherwise form components will use their cached values instead of pulling from the form.
-igor On Wed, May 2, 2012 at 7:19 AM, theAnthony <anthony.ric...@gmail.com> wrote: > Indeed, I'm using an AjaxEventBehavior listening for "onclick", in the > onEvent method, I send an event which is intercepted by the form where the > model of the form is changed and the elements to be refreshed are added to > the AjaxRequestTarget. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Form-having-error-cannot-be-modified-via-Ajax-tp4602753p4603350.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org