Hi all!

I have a t:beaneditform with t:cancel="true"

When I click on cacel, I handle it with a onCanceledFromMyForm() handler,
and here return another page.
My problem is that after the "canceled" event the "validate" is fired, and
my onValidateFromMyForm() handler is called, recording form errors shown
when I return to this page.

I suppose that the "validate" event shouldn't be fired after "canceled" one,
don't you? Or is there another way to handle with this scenario, perhaps?

The only work arround I found, is having a boolean page field, set to true
in onCanceled handler and checking it in onValidate one... but I think it is
quite tricky...

I'll apreciate any advise!

Regards,
Matias.

Reply via email to