> I have my .css file in web context directory i.e webapp/style/abc.css since
> this .css is used by plain html and wicket , i can't place it in my wicket
> webpages directory.
> I want to access this .css file in my webpage. i know , we can access is
> using HeaderContributor.forCss(Class scope,String path) but it seems it
> alway need class for scope. so it expect .css in relative  to scope Class.
> how do I access .css from my application context i.e.webapp/style/abc.css

HeaderContributor.forCss("style/abc.css") should do the trick (don't
put a slash in front though, as that'll make it absolute).

Eelco

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to