[ 
https://issues.apache.org/jira/browse/WICKET-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov updated WICKET-4970:
------------------------------------

    Attachment: resref-registry.tgz

Attaching a quickstart that doesn't reproduces the problem.
                
> 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
>         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

Reply via email to