Kemal Dogan created WICKET-4602:
-----------------------------------

             Summary: at renderHead(IHeaderResponse response),  cannot access 
js if url contains parameters 
                 Key: WICKET-4602
                 URL: https://issues.apache.org/jira/browse/WICKET-4602
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.7
         Environment: Tomcat
            Reporter: Kemal Dogan
            Priority: Minor


at public void renderHead(IHeaderResponse response). method:

this line has error. it gives can not access resource.
//              response.renderJavaScriptReference(new 
PackageResourceReference(getClass(),
//                      
"./timeline_js/timeline-api.js?timeline-use-local-resources=true&bundle=true"));
But these lines have no problem.
              PageParameters pp= new PageParameters();
                pp.add("timeline-use-local-resources", "true");
                pp.add("bundle", "true");
                response.renderJavaScriptReference(new 
PackageResourceReference(getClass(),
                        "./timeline_js/timeline-api.js"),pp,"MY_JS");

not: detail conversation at 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-simile-timeline-1-5-5-Access-denied-to-resource-error-td4649855.html



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