On Friday 01 June 2007 1:42 pm, Matej Knopp escreveu:
> Look at what url is your stylesheet. The images withing stylesheet are
> always located relatively to the stylesheet itself.
so there's no way to make them relative to the context path/root?
I'm going ahead and moving them to where wicket expects them now, but I
just
wonder what I'd do if I couldn't do that.
>
> -Matej
>
> On 6/1/07, Thomas R. Corbin <[EMAIL PROTECTED]> wrote:
> > I have a line like this in my css. the css is in the package
> > com.samsix.wicket.style. But I expected, presumably falsely that the
> > gif file would be found at the root of my application, not relative to
> > that package's path.
> >
> > background:url("images/tabs/left.gif") no-repeat left top;
> >
> > Yet it seems to be looking relative to the package path. I can go ahead
> > and change the location of the gif file, but wondered what I would do if
> > I didn't or couldn't move the gif files.
> >
> > Currently it seems to be looking in
> >
> > localhost:8084/nrg/app/resources/com.samsix.wicket.NrgPage/style/images/t
> >ab/left.gif
> >
> > Thanks,
> > Tom
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user