Hello, here I renew this thread, because this problem is still cannot be
resolved.
So problem is that when you have AjaxFormComponentUpdatingBehaviour it works
fine, until that moment, when you try to submit your form. So when you get
error, that some kind of value is not as it is not supposed to
: AjaxFormComponentUpdatingBehavior after validation problem
Hello, Michal,
Well, I`ve tried to make an AjaxFormSubmitBehaviour, but this doesn`t
help, in fact it is updating component, when you click Submit button,
and I need it updated, when clicking checkBox.
I`ve tried to add both Ajax behaviours, still
Hello,
I think the problem is just that you're calling setValues on your
genericModelObject, which is set as the compoundpropertymodel for your
form, but you're not adding the form back to the ajax response - with the
AjaxRequestTarget, you're only adding the component dropDownId to get
Hi,
Did you try using AjaxCheckBox instead of CheckBox with ajax behavior?
Best regards,
Michal Wegrzyn
-Original Message-
From: Gytis [mailto:lietuvis...@mail.ru]
Sent: Friday, March 16, 2012 10:32
To: users@wicket.apache.org
Subject: AjaxFormComponentUpdatingBehavior after
Hi, Michal, I`ve tried AjaxCheckBox component, but problem is the same.
I even made Sytem.out.println() of what object is set in DropDown, it shows
that Object is SECONDVALUE, but still shows me FIRSTVALUE. Both dropDownz
and CheckBox OutputMarkupId set to true.
--
View this message in context:
regards,
Michal Wegrzyn
-Original Message-
From: Gytis [mailto:lietuvis...@mail.ru]
Sent: Friday, March 16, 2012 13:13
To: users@wicket.apache.org
Subject: RE: AjaxFormComponentUpdatingBehavior after validation problem
Hi, Michal, I`ve tried AjaxCheckBox component, but problem