Hi!

I will try that but dont have the time right now.

I solved it by adding a dash instead of null when a context param
should be null.

E.g. <t:pagelink page="foo" context="[${username}, '-']"> Klick text
<T:pagelink>

/Gunnar

2009/10/2 Olle Hallin <olle.hal...@hit.se>:
> What happens if you introduce *public Object[] getPagelinkContext() { ... }*
> and change the template to
> <t:pagelink page="foo" context="pagelinkContext">...</t:pagelink> ?
>
> Olle Hallin
>
>
> 2009/10/2 Gunnar Eketrapp <gunnar.eketr...@gmail.com>
>
>> Can't find the documentaion on how to pass multiple values in the context.
>>
>> I have seen it somewhere....
>>
>> I need to pass two strings where one of them may be null.
>>
>> E.g.
>> <t:pagelink  page="foo" context="[firstname, lastname]"> Pass two
>> strings </t:pagelink>
>>
>> <t:pagelink  page="foo" context="[firstname, null]> Pass first string
>> </t:pagelink>
>>
>> <t:pagelink  page="foo" context="[null, lastname]> Pass second string
>> </t:pagelink>
>>
>>
>>
>> But I does not work for me. I.e. the activate method that takes two
>> strings does not get kicked.
>>
>> Thaks in advance,
>> Gunnar Eketrapp
>> Stockholm
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to