Hello,

 

I have security through page Activate.

 

All my pages extend a page that has a method:

 

@OnEvent("activate")

Object onSecurityCheck(){

Check security if fails return Index.class

}

 

This works however any page that has its own onActivate() method, the method
still runs (the extended page runs first) but everything still works fine. 

 

Is there a way to prevent the pages onActivate() method(as some have db
calls in them) from running if the extended page's activate method returns a
page.

 

Thanks,

--James

Reply via email to