Personally, I dislike how Wicket prevents the use of "reserved paths" such as /resources. There should be a better way, somehow.
Why not let users bind whatever resources they want to /resources and if Wicket (or another user-call) tries binding to that same path you throw an exception? It would be up to the user to ensure he doesn't produce conflicts (which I think are extremely rare in the first place). Anyway, just food for thought. Gili Eelco Hillenius wrote: > I'm afraid /resources/ is a reserved path with Wicket. I guess it's > not the best name we choose, as it's kind of an obvious path to use > for people. Maybe we should use another path, like > '/wicket-shared-resources/' or something. > > Eelco > > > On 4/27/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: >> My problem is, the images and css files can't be found by the html pages. >> I am calling them as if I was using a static page: >> <link href="universal.css" rel="stylesheet" type="text/css"> >> >> Images follow a similar pattern. >> >> >> On 4/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >>> how are you referring to those files inside your css? >>> >>> -Igor >>> >>> >>> >>> >>> On 4/27/06, Rui Pacheco <[EMAIL PROTECTED] > wrote: >>>> Hi all. >>>> >>>> My application, as with all applications, uses stylesheets and images. >> Those files are stored under >> $TOMCAT_HOME/webapps/my_app/resources, but when I launch my >> wicket application I see an error on my logs saying that the file can't be >> found, even though I can see it on the filesystem. >>>> How can I make my files appear on the application? >>>> >>>> -- >>>> Cumprimentos, >>>> >>>> Rui Pacheco >>> >> >> >> -- >> Cumprimentos, >> Rui Pacheco > > > ------------------------------------------------------- > 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=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user
signature.asc
Description: OpenPGP digital signature