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/15 09:52:13 UTC

[jira] [Assigned] (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 reassigned WICKET-4970:
---------------------------------------

    Assignee: Martin Grigorov
    
> 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
>
> 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