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
value).

Ex:

URL : http://www.xxxx.com/en/myvalue/mypage

App root path : com.yourapp

Page : com.yourapp.pages.myvalue - MyValue.java

Context value : /mypage <http://www.xxxx.com/en/myvalue/mypage>

So, the MyValue.java page would setup some things and redirect to "
www.xxx.com/en/mypage"

Buuuut, i hope there is some magic and nice way of doing this that i don't
know...

_______________________
Everton Agner Ramos


2010/12/7 Mark <mark-li...@xeric.net>

> 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, Zhou Jianquan <jqz...@gmail.com> wrote:
> > for example,I have a value "myvalue",I want add it to url like below:
> > -
> > http://www.xxxx.com/en/myvalue/mypage
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to