A little mistake .... myPage MUST extends SecurePage of course.... :)

On 8/24/07, César Lesc <[EMAIL PROTECTED]> wrote:
> If you have a base class for your protected pages then onActivate
> event will trigger first on the parent then in the child if return
> value of the parent onActivate event is null. This work fine in my
> project, I don´t use any annotation for this just declare:
>
> public abstract class SecurePage{
>
>    Class onActivate(){
>        // check security return null if ok
>    }
> }
>
>
> then
>
> public class myPage{
>
> void onActivate(){
>
>    // do something
> }
>
> }
>
>
> Regards
>
> César.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to