> > localhost:8088/AppLogViewer/resources/wicket.Application/wstyle.css > > How is this supposed to get translated to a css file located in my > package directory? Is the wicket servlet supposed to translate the > "resources/wicket.Application" somehow and pick up the css file, or am I > required to modify my web.xml file so that the css file access does not go > through the wicket servlet? If the wicket servlet is not going to pick up > the css file, how do I know where it is supposed to be? I would expect > that the URL to the css file would have my class name in it somewhere; > I can't see how it can be found given the URL that is being generated. >
johan may explain it in more detail. High level: static resources can be registered with wicket and "wicket.Application/wstyle.css" is the key. "resources" is used by wicket to search the registry for bound resources. Juergen ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
