IRequestTargetUrlCodingStrategy was meant to be an internal class at
first, but later on public final void mount(String path,
IRequestTargetUrlCodingStrategy encoder) was added to WebApplication,
making things like your example a bit more likely.
I'm not sure whether a coding strategy should be bound to a path like
that. It's something to consider, but certainly not for 1.2.
Eelco
On 4/18/06, Johan Compagner <[EMAIL PROTECTED]> wrote:
> What happens if i do this:
>
> application.mount("/path1", new
> BookmarkablePageRequestTargetUrlCodingStrategy("/path2",
> MyClass.class, null))
>
> Then the 2 paths are out of sync?
>
> shouldn't IRequestTargetUrlCodingStrategy have a getPath() method and every
> mount method with a IRequestTargetUrlCodingStrategy
> shouldn't have a path string. But get the path from the
> IRequestTargetUrlCodingStrategy itself.
>
> johan
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop