On Thu, May 8, 2008 at 3:15 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I've got a page mounted on "/path1". >> >> I've got some files in a directory in my webapp root on "/path1/dir" >> >> How can I tell Wicket to give control back to the servlet container for >> dir? Currently (even using QueryStringUrlCodingStrategy) the mount eats >> /path1/dir and doesn't let me access the files there... >> >> Regards, >> Sebastiaan > > I looked at the wicket filter code, and it does not seem that this is > possible at the moment (though I might be missing something). I see at least > two possible ways to add this feature: > > 1) using a special exception (I did not think about the name): > ... > 2) using a special RequestCodingStrategy, i.e. > UnmountedRequestCodingStrategy and tweaking isWicketRequest to return false > if it detects this request coding strategy... > > What do you guys think?
Well, my first impulse is to say that mounting was never meant to serve complex cases, and that instead of mounting you'd do best with a custom request coding strategy instead. That said though, I'm not against something like 2 if we have a nice construct for it. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
