Might be that I'm mistaken but I thought Application.getContextPath()
were meant for proxied environments. I don't think it is equal to the
servlets context path. I would assume you'll find information in the
mail archive on that. And obviously the javadoc is not clear on that.

Juergen

On 3/8/06, David Leangen <[EMAIL PROTECTED]> wrote:
>
> Well, my workaround worked as I'd hoped. And it was dumb-ass simple
> injecting a custom filter.
>
> All relative "src" attributes are prepended by a hardcoded public URL.
>
> All relative "href" attributes are prepended by a hardcoded contextRoot.
>
> All page links are left "as is" because they are working fine.
>
> > Even if it is just your setup it would be good to find out what it is,
> > so we could try to detect such issues in an earlier stage with Wicket.
> > Ideally, Wicket should work for any setup.
>
>
> All I can suggest is that the way the PrependContextPathHandler works
> (i.e. getApplicationSettings().getContextPath()) must not be the same as
> the way the whatever-it-is class that takes care of mounting pages. They
> are clearly not getting their contextRoot values from the same place,
> else they would both work the same way, I think.
>
> In PrependContextPathHandler, it only gets the correct value if I
> explicitly set it.
>
> For mountable pages, it manages to get the correct value whether I
> explicitly set it or not.
>
>
> HTH
>
>
>
>
> -------------------------------------------------------
> 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&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to