not possible inside the template to add an array/list of context values.
two suggestions:

in the tml
t:context="context"

in the class
String[] getContext()
{
  return new String[]{someObject.id, otherObject};
}

or use the list binding from t5compnents/chenillekit
http://87.193.218.134:8080/t5components/t5c-commons/howto_listbinding.html


2008/8/22 Andy Pahne <[EMAIL PROTECTED]>

>
> What's the correct syntax (in a tml template) to pass more than one object
> in an ActionLink's t:context parameter?
>
>  t:context="someObject.id, otherObject"
>
> does not work, as the error message states that someObject is searched for
> a property called "id, otherObject"
>
> Andy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com

Reply via email to