wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Resolution of url() in ContextRelativeResourceReference
Date Thu, 08 Oct 2015 10:08:36 GMT
Hi,

I guess the problem is that you have a context path and the person who
wrote the guide didn't have it.
If there is no context path then "/style.css" and "style.css" would resolve
to the same - the resource that is in the root of the app.
If there is context path then the absolute url that the browser will use
will be http://host:port/style.css instead of http://host:port
/contextPath/style.css

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Oct 8, 2015 at 10:01 AM, Dieter Tremel <tremel@tremel-computer.de>
wrote:

> Am 08.10.2015 um 08:14 schrieb Dieter Tremel:
> > With a JavaScriptHeaderItem the slash makes no difference, only with
> > CssHeaderItem.
>
> Sorry, this is wrong, same problem with js.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message