You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Kemal Dogan (JIRA)" <ji...@apache.org> on 2012/06/12 09:34:42 UTC

[jira] [Created] (WICKET-4602) at renderHead(IHeaderResponse response), cannot access js if url contains parameters

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

        

[jira] [Updated] (WICKET-4602) at renderHead(IHeaderResponse response), cannot access js if url contains parameters

Posted by "Kemal Dogan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kemal Dogan updated WICKET-4602:
--------------------------------

    Remaining Estimate:     (was: 1h)
     Original Estimate:     (was: 1h)
    
> 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
>              Labels: access, resource, wicket
>
> 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

        

[jira] [Resolved] (WICKET-4602) at renderHead(IHeaderResponse response), cannot access js if url contains parameters

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4602.
-------------------------------------

    Resolution: Not A Problem

This is a problem of https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/simile-timeline-parent.
Not of Wicket itself.
File this ticket at https://github.com/wicketstuff/core/issues
                
> 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
>              Labels: access, resource, wicket
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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