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
@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
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