yes, both.

Thanks,

DH

> 
> 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
>> 
>> 
>> 
>>> 
>>> 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