Have you try to customise (ignore fragment1 and fragment2, or override matches
methods) the following class:
* org.apache.wicket.request.target.coding.IndexedParamUrlCodingStrategy
* or org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy
Or use a filter like urlrewrite (http://tuckey.org/urlrewrite/) to convert
/{var1}/fragment1/fragment2/{var2}/{var3}
into
/fragment1/fragment2/{var1}/{var2}/{var3}
/david
kent lai wrote:
Hi,
I am wondering if Wicket supports an in-built coding strategy where
I can, given the following form
/{var1}/fragment1/fragment2/{var2}/{var3}
it can be mounted as a url to a page, passing in page parameters
var1, var2, and var3.
A more real use case of this could be a multi user site, with each
user having a publicly accessible page.
/kentlai/blog/2007/june -> BlogMonthArchivePage with page parameters
user:kentlai, year:2007, month:june
/wicket/blog/2006/may -> BlogMonthArchivePage with page parameters
user:wicket, year:2006, month:may
I looked through the available IRequestTargetUrlCodingStrategy, but
could not find anything that is described to perform as above, so would
like to check in the mailing list if it has been done before.
Thanks
Kent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]