guard.addPattern("+*timeline-api.js*");
On Mon, Jun 11, 2012 at 9:34 PM, chrome1235 <[email protected]> wrote:
> Martin, thanks for your reply.
> But I could not succeed.
>
> I tried all of these lines. But I have same error.:(
> ---
> public void init()
> {
> super.init();
> SecurePackageResourceGuard guard = new
> SecurePackageResourceGuard();
> guard.addPattern("+*.js");
>
> guard.addPattern("+timeline-api.js?timeline-use-local-resources=true&bundle=true");
>
> guard.addPattern("+org/wicketstuff/simile/timeline/./timeline_js/timeline-api.js?timeline-use-local-resources=true&bundle=true");
> getResourceSettings().setPackageResourceGuard(guard);
> }
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicketstuff-simile-timeline-1-5-5-Access-denied-to-resource-error-tp4649855p4649858.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]