Re: Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-08 Thread jqzone
Thanks for all your replies! Actually,We are developing an application in Multi-Tenant mode,Every tenant shares the same web domain.In a private network(every tenant login in before use the app for example),tapestry works well.But now we meet a new problem,our customers need to publish some pages t

Re: Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-07 Thread Everton Agner
Well, this wouldn't be 100% dynamic, but you could make a page for each value you wanna prepend, and consider the rest of it as Context values... So, the page would setup some app configurations (that the page would read to know what does it need to change) and redirect to the page (the context va

Re: Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-07 Thread Everton Agner
what's your scenario? just curious. ___ Everton Agner Ramos 2010/12/7 Zhou Jianquan > for example,I have a value "myvalue",I want add it to url like below: > - > http://www..com/en/myvalue/mypage >

Re: Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-07 Thread Mark
I think you want to look at the PageLink and the context parameter: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/PageLink.html You would pass mypage in as the context or the link. Does that do what you want? Mark On Tue, Dec 7, 2010 at 8:20 AM,

Hello,How can I add a dynamic value in URL,just like encode current locale

2010-12-07 Thread Zhou Jianquan
for example,I have a value "myvalue",I want add it to url like below: - http://www..com/en/myvalue/mypage