implicit key in PageParameter ?

2010-12-01 Thread smallufo
Hi , I wonder how to build an implicit key when a Page is mountBookmarkablePage() ? Suppose I have a TagPage , that accepts a parameter : name , and if the TagPage is mounted to /tag prefix The url will look like : http://foobar.com/app/tag/name/abc I feel the name is redundant I hope I can

Re: implicit key in PageParameter ?

2010-12-01 Thread Martin Grigorov
See Indexed** UrlCodingStrategies On Wed, Dec 1, 2010 at 11:52 AM, smallufo small...@gmail.com wrote: Hi , I wonder how to build an implicit key when a Page is mountBookmarkablePage() ? Suppose I have a TagPage , that accepts a parameter : name , and if the TagPage is mounted to /tag

Re: implicit key in PageParameter ?

2010-12-01 Thread smallufo
Hi , thanks . But it seems that IndexedParamUrlCodingStrategy only accepts integer parameters. I need String value ... 2010/12/1 Martin Grigorov mgrigo...@apache.org See Indexed** UrlCodingStrategies On Wed, Dec 1, 2010 at 11:52 AM, smallufo small...@gmail.com wrote: Hi , I wonder how to

Re: implicit key in PageParameter ?

2010-12-01 Thread smallufo
Hi I found the solution , it is MixedParamUrlCodingStrategy Thanks. 2010/12/1 smallufo small...@gmail.com Hi , thanks . But it seems that IndexedParamUrlCodingStrategy only accepts integer parameters. I need String value ... 2010/12/1 Martin Grigorov mgrigo...@apache.org See Indexed**