Re: [T5] syntax of list in t:context

2008-08-22 Thread Filip S. Adamsen
Hi, You can also grab the list: binding prefix from the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix -Filip On 2008-08-22 14:41, Andy Pahne wrote: found the workaround: see "Notes" onm page http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/cor

Re: [T5] syntax of list in t:context

2008-08-22 Thread Andy Pahne
found the workaround: see "Notes" onm page http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/ActionLink.html Andy Pahne schrieb: What's the correct syntax (in a tml template) to pass more than one object in an ActionLink's t:context parameter?

Re: [T5] syntax of list in t:context

2008-08-22 Thread Sven Homburg
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/t5com

[T5] syntax of list in t:context

2008-08-22 Thread Andy Pahne
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