Hello Wicketeers
I want to thank wicket's developers for the nice product and in second place 
I want to make clear that I am a newbie, so maybe my question is a stupid
one
... In that case my apologies to the developers... and please help me find
the right way to do it in wicket:-)

I have a problem regarding the way Wicket handles mounting and unmounting
paths in WebApplication.

1. When wicket MOUNTS path -> removes starting "/" if exists:
---------------------------------------------------------------------

SEE: WebRequestCodingStrategy, line: 335

// sanity check
if (path.startsWith("/"))
{
   path = path.substring(1);
}

So the mount path is internally stored withoud leading "/" char.

2. When wicket UNMOUNTS path -> adds starting "/" if does not exist
---------------------------------------------------------------------

SEE: WebRequestCodingStrategy, line: 386
// sanity check
if (!path.startsWith("/"))
{
    path = "/" + path;
}

So unmount cannot be succesfully done by removing entry by key, because
there are no 
previously stored keys with leading "/" char, what causes -> unmount does
not work for me.

Am I right, or am I missing something ?
Thank you for advance..





-- 
View this message in context: 
http://www.nabble.com/MOUNT---UNMOUNT-ing-path-in-WebApplication-tf4425593.html#a12624375
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to