I agree that you should have a strong reason to change the default, and IMO 'I don't like it' isn't good enough. What happens if you want to reuse components that live in that jar elsewhere? Putting the jar that contains the component on the classpath won't be sufficient because you'll only get the .class file and not the HTML/CSS/JS. This probably means that you'd have to check in those resources in multiple locations or have them copied from one location to another during your build process - both of which are more error prone and/or maintenance hassle than just putting them in the package with the class.
Craig _____ From: Johan den Boer [mailto:johanj.denb...@gmail.com] To: users@wicket.apache.org Sent: Sun, 06 Dec 2009 02:17:04 -0500 Subject: Re: Location of html files Hi, I not like my html files / css files / images are all locates in the same package but seperated in directories i.e. html files goto ../html css files go to ../css images go to ../images why is this not possible johan Marat Radchenko-2 wrote: > > With custom IResourceFinder, you can put them wherever you want. But > why? You should have a strong reason to not follow defaults. > > 2009/12/6, Johan den Boer <johanj.denb...@gmail.com>: >> Hi, >> >> I place my html files in the same package where my java classes resides. >> Is >> it possible to change this. I want to place my html files in the >> WEB-INF/page directory >> >> -- >> thanks a lot, >> >> >> Johan den Boer >> > > --------------------------------------------------------------------- > 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/Location-of-html-files-tp26662782p26662799.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