Hello!

May someone explain me, why AjaxButton must call his parent form
onSubmittion? It surely did becouse of
        @Override
        protected void onEvent(AjaxRequestTarget target)
        {
                getForm().getRootForm().onFormSubmitted();
 ...


Why to submit form if it's Ajax request?

The real example: I have a filterForm with some fileds where entered
data can be malformed and as so may not be used in filtering. So, I
mistyped something in filter fileds alredy forget about that and
pressing "add" button.
But as FilterForm uses onSubmission user receives error message that
does not  related with his latest activity.
May be there are any way to say AjaxButton not to call form validation
at least? Or the right way is to put such buttons in separate form?
But what if this is "delete current line" button?

-- 
Best regards
Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to