I have a similar problem:

A css style sheet is added to the app like so:

     getSharedResources().add("css_table", new
ContextRelativeResource("css/table.css"));

and this css file contains image references like so:

  div.tabpanel div.tab-row li {
        float: left;
        background: url("../images/tabs/left.png") no-repeat left top;
        margin: 0;
        padding: 0 0 0 9px;
  }

The problem is the images aren't displayed because Wicket is prefixing the
path with:

   myApp/wicket/resource/images/tabs/left.png (generates a 404)

instead of leaving it like this:

   myApp/images/tabs/left.png

Is there a way to solve this?  chris.schaefer did ask something similar
during the discussion above but I don't think it was answered...

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Caching-Imagages-CSS-JS-in-Wicket-1-5-3-tp4121068p4650329.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to