You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by wicket_new_user <mu...@gmail.com> on 2012/12/31 07:13:30 UTC

alternative for AjaxFormSubmitBehavior from form submission

Hi,
i'm using AjaxFormSubmitBehavior to fill the selected data in List box when
using AutoCompleteTextField.

When an selection is made in the AutoCompleteTextField component, and trying
to update the list box, the "AjaxFormSubmitBehavior" is trying to validate
the complete form and throwing validation messages which are mentioned in
the form.

Is there a way to bypass this validation?

Thanks
WN



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/alternative-for-AjaxFormSubmitBehavior-from-form-submission-tp4655105.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


Re: alternative for AjaxFormSubmitBehavior from form submission

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

You can use AjaxFormComponentUpdatingBehavior to update the value of only
one form component.
Alternatively you can override the FormComponent's #validate() method.


On Mon, Dec 31, 2012 at 8:13 AM, wicket_new_user <mu...@gmail.com>wrote:

> Hi,
> i'm using AjaxFormSubmitBehavior to fill the selected data in List box when
> using AutoCompleteTextField.
>
> When an selection is made in the AutoCompleteTextField component, and
> trying
> to update the list box, the "AjaxFormSubmitBehavior" is trying to validate
> the complete form and throwing validation messages which are mentioned in
> the form.
>
> Is there a way to bypass this validation?
>
> Thanks
> WN
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/alternative-for-AjaxFormSubmitBehavior-from-form-submission-tp4655105.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>