Re: using back button with clientValidation from

2010-01-29 Thread Kiss Izolda
Hi Sven, thanks for the sample I find editForm.clearErrors() quite useful. >@Component(parameters = {"value=message:button.value.cancel"})> >private Submit cancelButton;> I have tried the following: @Component(parameters = { "type=message:button" }) private Submit sbtBack; (button was defined as

Re: using back button with clientValidation from

2010-01-29 Thread Sven Homburg
@Component(parameters = {"value=message:button.value.cancel"}) private Submit cancelButton; private boolean isCancelButtonPressed; @OnEvent(component = "cancelButton", value = EventConstants.SELECTED) void onSelectedFromCancelButton() { isCancelButtonPressed = true; editForm.clear