On Tue, Jun 12, 2012 at 12:11 AM, chrome1235 <kemal.m...@gmail.com> wrote:
> I could solve the wicket problem.
> original code like this. (org.wicketstuff.simile.timeline.Timeline.java)
> //              response.renderJavaScriptReference(new
> PackageResourceReference(getClass(),
> //
> "./timeline_js/timeline-api.js?timeline-use-local-resources=true&bundle=true"));
>
> I changed by this code. So, that problem was solved.
>                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");

Please make a Pull request for this fix,

>
> --
> But my problem was not solved:(
> I think, the problem is about simile.mit.edu..
>
> Now, it gives this error:
> Error: Failed to derive URL prefix for Timeline API code files
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicketstuff-simile-timeline-1-5-5-Access-denied-to-resource-error-tp4649855p4649862.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to