[ 
https://issues.apache.org/jira/browse/WICKET-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507912#comment-13507912
 ] 

Martin Grigorov commented on WICKET-4898:
-----------------------------------------

Such change will break the possibility to use UrlResourceReference for JQuery 
and Wicket's .js files.
Probably it is better to relax the requirement to pass JSRR to #addJsBundle() 
instead.
                
> Change the return types of the methods in IJavaScriptLibrarySettings to 
> JavaScriptResourceReference
> ---------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-4898
>                 URL: https://issues.apache.org/jira/browse/WICKET-4898
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>            Reporter: Martin Grigorov
>            Priority: Minor
>
> All methods in org.apache.wicket.settings.IJavaScriptLibrarySettings 
> currently return org.apache.wicket.request.resource.ResourceReference. 
> When user application wants to include them in a resource bundle it needs to 
> cast them to JavaScriptResourceReference.

--
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