[
https://issues.apache.org/jira/browse/WICKET-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029964#comment-13029964
]
Hielke Hoeve commented on WICKET-3675:
--------------------------------------
While I was checking out sources to make a patch you already made exactly what
I wanted :) Fixed!
> Usage of JavaScriptCompressor by resources other than PackageTextTemplates is
> lost!
> -----------------------------------------------------------------------------------
>
> Key: WICKET-3675
> URL: https://issues.apache.org/jira/browse/WICKET-3675
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-M1, 1.5-M2.1, 1.5-M3, 1.5-RC1, 1.5-RC2, 1.5-RC3,
> 1.5-RC4
> Reporter: Hielke Hoeve
> Assignee: Martin Grigorov
> Labels: compression, javascript, resource
>
> With the refactoring of ResourceReferences, Resources and ResourceStreams it
> seems that the JavaScriptCompressor is no longer used for resources other
> than a PackageTextTemplate. In Wicket 1.4 it used to be in
> JavascriptPackageResource but seeing as this class is gone the
> JavaScriptCompressor is no longer used.
> There should be either a subclass of PackageResource which uses the
> JavaScriptCompressor or a way to intercept the length and the bytes which are
> written to the stream in PackageResource line 327.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira