Re: T5: CreatePageLink and list of context
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 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"); 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 correct way? Thanks. A.C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: CreatePageLink and list of context
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"); 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 correct way? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-CreatePageLink-and-list-of-context-tf4796265.html#a13721251 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: CreatePageLink and list of context
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 correct way? Thanks. A.C. -- View this message in context: http://www.nabble.com/T5%3A-CreatePageLink-and-list-of-context-tf4796265.html#a13721251 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]