CachingResourceStreamLocator is not extension-aware.

2014-05-06 Thread Fabio Fioretti
Hi all, I have a Wicket 6 application that integrates with Apache FOP in a way that, by overriding Page's getMarkupType(), I can have a component render its .fo markup (to generate a PDF) instead of the usual html, depending on whether it is added to a Page with the fo MarkupType or the standard

Re: CachingResourceStreamLocator is not extension-aware.

2014-05-06 Thread Martin Grigorov
Hi, Please file a ticket at https://issues.apache.org/jira/browse/WICKET and we will improve it. As a workaround you can override #getVariation() for the pages and return html and fo respectively. Martin Grigorov Wicket Training and Consulting On Tue, May 6, 2014 at 11:39 AM, Fabio Fioretti

Re: CachingResourceStreamLocator is not extension-aware.

2014-05-06 Thread Fabio Fioretti
Hi Martin, I have just created a ticket: https://issues.apache.org/jira/browse/WICKET-5581 Thanks for taking it into consideration. Overriding #getVariation() works well but it is, as you say, a workaround. I look forward to having CachingRes​ourceStrea​mLocator improved. Thanks again, Fabio