wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Vaynberg <igor.vaynb...@gmail.com>
Subject Re: Form having error cannot be modified via Ajax
Date Wed, 02 May 2012 15:22:47 GMT
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.richir@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>

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


Mime
View raw message