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

Thomas Götz commented on WICKET-4603:
-------------------------------------

In your quickstart: Homepage.java, lines 34 + 35:

replace:
response.renderJavascriptReference("/js/jquery.js");
response.renderJavascriptReference("/js/jquery-ui.js"); 

with:
response.renderJavascriptReference("js/jquery.js");
response.renderJavascriptReference("js/jquery-ui.js"); 

i.e. don't use the absolute "/" context but the (context relative) url.

                
> "-" in js/css name does not load the resource
> ---------------------------------------------
>
>                 Key: WICKET-4603
>                 URL: https://issues.apache.org/jira/browse/WICKET-4603
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.20
>         Environment: Mac OS
>            Reporter: Michał Letyński
>         Attachments: myproject.tar.gz
>
>
> Hi,
> When my js has "-" in its name, its not loaded.
>               response.renderJavascriptReference("/js/jquery.js");
>               response.renderJavascriptReference("/js/jquery-ui.js")
> Jquery is loaded, ui not. For ui i get "The address you entered is not a page 
> on this system."
> I tried with web.xml -> ignorePaths, but it didn't help. I debug the filter 
> and this request for jquery-ui is ignored. Maybe its a jetty bug ? Or i 
> missing something ?
> When i change jquery-ui to jquery.ui everywith works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to