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

using back button with clientValidation from

2010-01-29 Thread Kiss Izolda
Hi, I have forms with param clientValidation="true". I need two buttons: one submit and one back. As I havn't found any better solution I have iplemented the back button as org.apache.tapestry5.corelib.components.Sumbit (Java code has to be run before returning to the previous page). The proble