Re: Include Files form Filesystem

2014-05-16 Thread Paul Bors
Wicket is just Java, so you can also have your Base class be the page template and have other pages extend it ;) On Sunday, May 11, 2014, Martin Grigorov wrote: > Hi, > > See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ > Create a custom ResourceReference and mount it. Then u

Include Files form Filesystem

2014-05-16 Thread Mikulicic, Vladimir
Hello, im using Wicket 6.15 Does someone know how to include a static HTML file from the filesystem in my Wicket-App. I have a folder on my machine like /local/wtr/ with two files header.html and footer.html in it. The files are not in the docroot of my server, but somewhere in the files

Re: Include Files form Filesystem

2014-05-11 Thread Martin Grigorov
Hi, See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ Create a custom ResourceReference and mount it. Then use RequestCycle#urlFor() to get the relative url to it and pass it to Include Martin Grigorov Wicket Training and Consulting On Fri, May 9, 2014 at 5:12 PM, Mikulicic,