Martin Grigorov created WICKET-4970:
---------------------------------------
Summary: 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
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