Hello,
there seems to be some difficulty linking between static and
packages resources, or at least a lot of confusion in forums ;-)
If I refer to a static css from a wicket:link or wicket:head,
the link will be "relativized" automatically, right ?
However, I do have a CSS that is specific to a special page,
and thus I have page .html, .css and .js for this special
page side-by-side packed and included via
CssResourceReference and JavaScriptResourceReference.
Now, inside my .css, I have a
background: url('img/formbg.png') no-repeat;
but the resource is not found.
using "/" prefix will tie me to a context prefix
using several "../" will work but certainly isn't very
professional or stable.
What's the best idea here ?
Cheers, Tom.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]