Description
org.apache.wicket.markup.head.filter.FilteringHeaderResponse#render(HeaderItem) doesn't need a filter when a FilteredHeaderItem is processed. But later org.apache.wicket.markup.head.filter.FilteringHeaderResponse#render(HeaderItem item, String filterName) requires such filter.
I think we can create a bundle (List<HeaderItem>) on the fly in this case for the first FHI.
Otherwise right now the developer has to use:
AbstractHeaderResponseFilter dummyFilter = new AbstractHeaderResponseFilter(coreFilterName) {
@Override
protected boolean acceptsWrapped(HeaderItem item)
};
filters.add(dummyFilter);
in his HeaderResponseDecorator.