Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4602

at renderHead(IHeaderResponse response), cannot access js if url contains parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 1.5.7
    • None
    • wicket
    • Tomcat

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrome1235 Kemal Dogan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: