change your page template to:
<t:pagelink page="batch/BatchDetail"
context="contextParams">${batchs.nomBatch}<br/>

and add to your page class:
public Object[] getContextParams()
{
  return new Object[]{batchs.id.idBatch, (long) batchs.id.idAo};
}


with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org




2010/8/2 mcfly37 <vincentgou...@gmail.com>

>
> Hello!!
>
> Currently I'm trying to use a pagelink component with multiple context
> parameters like this :
>
> <t:pagelink page="batch/BatchDetail" context="batchs.id.idBatch
> batchs.id.idAo">${batchs.nomBatch}<br/>
>
> Where idBatch is an int and idAo a long.
>
> But I didn't manage to find the right syntax to do this (I'm not even sure
> that it is possible this way...)
>
> So I come here to ask this, how can I use multiple context parameters with
> this pagelink?
>
> And thanks already for the help
> --
> View this message in context:
> http://old.nabble.com/Use-pagelink-with-multiple-context-parameters-tp29323540p29323540.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to