Hello,

I have a @Form with a validationDelegate. Inside this form there is a
custom component. There are also several @TextFields with
validators-rules after the custom-component. The custom component has
a @Submit button.

My problem is, when the submit button of that custom component is
pressed, the validator of the form gets triggered. But at this time
there shouldn't be a validation at all. The validation should start
when the submit-button of the form itself is pressed.

I tried it this way in my component:

/* submit listener of component */
public void formActionFindMachine() {
 IValidationDelegate delegate = getForm().getDelegate();
 delegate.clearErrors();
}

This works, but if the TextFields are located after the custom
component, they still record their validation errors.

I think I oversee something.

Thank for any help.

Greetings
Reto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to