onActivate(..) triggers on POST and GET, right?


dhning-2 wrote:
> 
> Sure you can, use page link.
> 
> Like deleting a user:
> <t:pagelink page="record/delete" context="user.id"/> or even
> context="user" if you have defined coercier on user object.
> Please remember that record/delete page should implmenet onActivate
> method.
> Delete.java
> void onActivate(int userid) { // or User user
> // your deletion logic here.
> }
> 
> Thanks,
> DH
> 
> 
> ----- Original Message ----- 
> From: "inrila" <[EMAIL PROTECTED]>
> To: <users@tapestry.apache.org>
> Sent: Friday, November 28, 2008 1:57 PM
> Subject: How to work with other page's actionlink?
> 
> 
>> 
>> Question here :-)
>> 
>> I have on the "List" page <t:actionlink t:id="delete"....>...
>> 
>> So I need to process it in "List" page as onActionFromDelete(...)
>> 
>> Is it possible to point it to some other page? Let's say special
>> dedicated
>> page -- i.e. "record/delete", same as I have "record/create" or
>> "record/edit" ?
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-work-with-other-page%27s-actionlink--tp20729358p20729358.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]
>> 
>>
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-work-with-other-page%27s-actionlink--tp20729358p20730029.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]

Reply via email to