Paul,
I agree. It will work if you don't forget override cancelled method in every
action. The better solution is to do it in BaseAction.
Regards,
Przemyslaw
> Przemyslaw,
>
> Thanks for pointing this out! I use dispatching
> actions in my application and each one has a cancelled
> method. Under
Przemyslaw,
Thanks for pointing this out! I use dispatching
actions in my application and each one has a cancelled
method. Under this paradigm, I don't think there is
any danger for me.
Would you agree?
Thanks,
Paul
Start yo
s the final validation check by the
model/business logic layer (with the appropriate
exception thrown if invalid).
Cheers,
Bryan Hanks
-- Original Message --
From: "Przemyslaw Lupinski" <[EMAIL PROTECTED]>
Subject: Cancel button and security
Date: Fri, 15 Jul 2005
Hello,
Many developers use tag to perform action without validation
(and for other reasons). It's usefull but it can be danger because of
security. If we don't serve cancel button in every Action or BaseAction then
it's possible to perform some actions without validation.
How?
It's very simple. J
4 matches
Mail list logo