Re: Mounting of ConcatResourceBundleReference in a WebPage
Hi Martin, I do not know how to use IRequestMapper to achieve my goal and could not find a suitable example. Do you know where I can find one? Basically, I just want to remove the package name from my CSS-/JS-URLs (ConcatResourceBundleReferences) so that for instance /wicket/resource/com.company.pages.AbstractBasePage$JSBundle/scripts-ver-439FF31767E6B0DF2C33D8C71F09.js looks at least like /wicket/resource/AbstractBasePage$JSBundle/scripts-ver-439FF31767E6B0DF2C33D8C71F09.js or even better like /wicket/resource/scripts-ver-439FF31767E6B0DF2C33D8C71F09.js - which would be quite like mounting resources with mountResource inside the Application (minus the /wicket/resource). Arne -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mounting-of-ConcatResourceBundleReference-in-a-WebPage-tp4653693p4654592.html Sent from the Users forum 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
Re: Mounting of ConcatResourceBundleReference in a WebPage
As I figured out, it definitely hurts, because mounting the bundle in a webpage on each request leaks memory, as the map containing the reference keys grows and grows and grows. So, is there any other way to have a nice URL for a customized ConcatResourceBundleReference which relies on session object info? Arne -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mounting-of-ConcatResourceBundleReference-in-a-WebPage-tp4653693p4654268.html Sent from the Users forum 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
Re: Mounting of ConcatResourceBundleReference in a WebPage
Hi, You can use custom IRequestMapper for this. On Tue, Nov 27, 2012 at 5:43 PM, aws0934 arne-wigand.bag...@idealo.dewrote: As I figured out, it definitely hurts, because mounting the bundle in a webpage on each request leaks memory, as the map containing the reference keys grows and grows and grows. So, is there any other way to have a nice URL for a customized ConcatResourceBundleReference which relies on session object info? Arne -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mounting-of-ConcatResourceBundleReference-in-a-WebPage-tp4653693p4654268.html Sent from the Users forum 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 -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/