Hi! You can use wro4j to load css & js resources from anywhere (even from classpath, servlet context relative location or disc location). Another advantage is that the resources are merged and minified, thus greatly improving the response time: http://code.google.com/p/wro4j/wiki/GettingStarted
Alex Objelean dale77 wrote: > > > Hi Alex, > > I'm after best practice for css/img and js locations. > > I know there are many ways to do something, I'm after a recommendation > as to what is the best way to do this in wicket. > > The way that allows the html markup to be opened by the web designer > showing the same page view that appears at runtime. > > Thanks > > Dale > > > -----Original Message----- > From: Alex Rass [mailto:a...@itbsllc.com] > Sent: Monday, 21 December 2009 5:03 p.m. > To: users@wicket.apache.org > Subject: RE: Location of css and js files > > Global resources you can reference "globally". Use can use the > non-wicket links. Container hosts folders you can use. > > Idea behind this is to use components which are fully contained. Hence > (all in one place). If this doesn't suit you - there are bunch of > tutorials on how to load resources from elsewhere. > > - Alex > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/-announce--wicket-1.4.5-released-tp26868988p26871530.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org