Re: T5: CreatePageLink and list of context

2007-11-13 Thread Nick Westgate
Probably better to look at the createPageLink parameters: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/ComponentResourcesCommon.html #createPageLink(java.lang.String,%20boolean,%20java.lang.Object...) Try passing p.toArray(). Cheers, Nick. Ezra Epstein wrote: Take a look a

Re: T5: CreatePageLink and list of context

2007-11-13 Thread Ezra Epstein
Take a look at the pageLink component and its "context" parameter along with activate/passivate methods on the target page. Angelo Chen <[EMAIL PROTECTED]> wrote: Hi, I'd like to pass something like this to a page: /Inbox/123 List p = new ArrayList(); p.add("Inbox"); p.add("272"); Str

T5: CreatePageLink and list of context

2007-11-13 Thread Angelo Chen
Hi, I'd like to pass something like this to a page: /Inbox/123 List p = new ArrayList(); p.add("Inbox"); p.add("272"); String lnk = _resources.createPageLink("mypage", true, p).toURI(); this does not work, it has something like this: /mypage/login/%5BInbox%2C+272%5D what's the corre