Also, just as a reminder, base classes must not go in the pages package.

Cheers,
Nick.



César Les wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--Restricting-Page-Access-tf4325658.html#a12321896
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to