Re: AjaxFormComponentUpdatingBehavior after validation problem

2012-04-27 Thread Gytis
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 b

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-19 Thread Michal Wegrzyn
ache.org > Subject: RE: 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, whe

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-18 Thread Evan Sable
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 re-ren

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-18 Thread Gytis
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 doesn`t work. Wanted to add some details on my co

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-16 Thread Michal Wegrzyn
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 comp

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-16 Thread Gytis
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: h

RE: AjaxFormComponentUpdatingBehavior after validation problem

2012-03-16 Thread Michal Wegrzyn
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 va