You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/01/16 11:56:13 UTC
[jira] [Resolved] (WICKET-4970) Move the logic for creating the
proper PackageResource from PackageResourceReference to
ResourceReferenceRegistry
[ https://issues.apache.org/jira/browse/WICKET-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4970.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.5.0
> Move the logic for creating the proper PackageResource from PackageResourceReference to ResourceReferenceRegistry
> -----------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4970
> URL: https://issues.apache.org/jira/browse/WICKET-4970
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.4.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.5.0
>
> Attachments: resref-registry.tgz
>
>
> org.apache.wicket.request.resource.PackageResourceReference#getResource() has a logic that decides what type of PackageResource to return depending on the file extension. It supports only .css and .js at the moment.
> ResourceReferenceRegistry (RRR) uses this logic for unknown ResRefs.
> It will be better if this mapping is moved to RRR and be possible to add custom mappings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira