Hi Nick,

I think so, one way to persist caller is, adding a t:id, here is what I do:

< a t:type="pagelink" page="Member" context="rowBltn.id"
t:id="Home">${RowBltn.name}</> a>

the rendered page will have something like this:

/myapp/member/6 

Now, is there a way to access this id in the onActivate? if yes, then I can
compare the 'home' prefix and return accordingly.

Thanks,
A.C.



Nick Westgate wrote:
> 
> I suspected you meant this. You'll have to persist the "caller" somehow.
> If you're using a base page class you could store it in an ASO there.
> 
> Cheers,
> Nick.
> 
> 
> Angelo Chen wrote:
>> Hi Marcus,
>> 
>> < a t:type="pagelink" page="Member"
>> context="rowBltn.id">${RowBltn.name}</
>> a>
>> </t:loop>
>> 
> 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-redirecting-page-under-onActivate-tf4479292.html#a12774964
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