Yes,do this in dispatcher is the right way,I have been successful in this
way according the articles of the wiki.thanks Angelo.

-----邮件原件-----
发件人: Angelo Chen [mailto:[EMAIL PROTECTED] 
发送时间: 2008年4月8日 7:14
收件人: users@tapestry.apache.org
主题: Re: How to redirect in component


Hi Francois,

You are correct, onActivate never got fired even in a layout component,
seems the only way to redirect a page should be in the Dispatcher.

Angelo


Francois Armand wrote:
> 
> Angelo Chen wrote:
>> hi,
>>
>> maybe you can do this in onActivate,
>>
>>   
> I thought that onActivate was reserved for pages, and that component 
> didn't have it ?
> (at least, onActivate is never called in my components objects)
> 
> If it isn't the case and onActivate is allowed in components, how can I 
> use it ?
> 
> -- 
> Francois Armand
> Etudes & Développements J2EE
> Groupe Linagora - http://www.linagora.com
> Tél.: +33 (0)1 58 18 68 28
> -----------
> InterLDAP - http://interldap.org 
> FederID - http://www.federid.org/
> Open Source identities management and federation
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/How-to-redirect-in-component-tp16532137p16542608.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


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

Reply via email to