I think right now the only way is to use MixedParamUrlCodingStrategy
Mount a page this way:
> mount(new MixedParamUrlCodingStrategy("collection", CollectionPage.class, new
> String[] { "owner" }));
so CollectionPage is mounted at: http://localhost:9090/collection/
now in CollectionPage.java you
you will have to roll your own, this is not supported in 1.4 but
should be in 1.5
-igor
On Mon, Sep 7, 2009 at 11:27 AM, Vit Rozkovec wrote:
> Hallo,
> which encoding strategy should one use if one would like to achieve this:
>
> http://somesite/somepath/user1/products --> mounted on ProductsPage
Hallo,
which encoding strategy should one use if one would like to achieve this:
http://somesite/somepath/user1/products --> mounted on ProductsPage.class
http://somesite/somepath/user1/profile --> mounted on ProfilePage.class
http://somesite/somepath/user2/products --> mounted on ProductsPage.c