I was just caught by this problem some time ago, and in the tapestry
site they recommend this:

public Object[] getAccountContext()
{
    return new Object[] { account.companyId, account.id };
}

Object onActionFromDelete(long companyId, long accountId){
//...
}

<p>
 [<t:actionlink t:id="delete" context="accountContext">delete</t:actionlink>
</p>

see: 
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/ActionLink.html


2008/4/28 Manuel Corrales <[EMAIL PROTECTED]>:
> I think you can separate the values with commas like this:
>
> t:context="p.productId, p.categoryId"
>
> Good luck!
>
>
>
>
> On Mon, Apr 28, 2008 at 12:53 PM, Leon Derks <[EMAIL PROTECTED]> wrote:
>
> > How can I add multiple context values to an actionlink?
> >
> > For example a productId and a categoryId?
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
Atenciosamente,
Marcelo Lotif

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

Reply via email to