You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris Colman <ch...@stepaheadsoftware.com> on 2014/02/01 08:02:47 UTC

Make wicket fetch js from different server

What is involved in telling wicket to fetch its js (jquery etc) from a
different server. It doesn't have to be a true CDN server just a
different server to the one the wicket app is running on.
 
Would this require using wicket-cdn or is there an easy way to just tell
wicket to fetch its js from a different server?
 
 

RE: Make wicket fetch js from different server

Posted by Chris Colman <ch...@stepaheadsoftware.com>.
As with everything else with wicket - that's just far too easy! :)

Thanks Martin

>-----Original Message-----
>From: Martin Grigorov [mailto:mgrigorov@apache.org]
>Sent: Saturday, 1 February 2014 7:06 PM
>To: users@wicket.apache.org
>Subject: Re: Make wicket fetch js from different server
>
>Hi,
>
>getJavaScriptLibrarySettings().setJQueryReference(new
>UrlResourceReference("some url"))
>
>Martin Grigorov
>Wicket Training and Consulting
>
>
>On Sat, Feb 1, 2014 at 8:02 AM, Chris Colman
><ch...@stepaheadsoftware.com>wrote:
>
>> What is involved in telling wicket to fetch its js (jquery etc) from
a
>> different server. It doesn't have to be a true CDN server just a
>> different server to the one the wicket app is running on.
>>
>> Would this require using wicket-cdn or is there an easy way to just
tell
>> wicket to fetch its js from a different server?
>>
>>
>>

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


Re: Make wicket fetch js from different server

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

getJavaScriptLibrarySettings().setJQueryReference(new
UrlResourceReference("some url"))

Martin Grigorov
Wicket Training and Consulting


On Sat, Feb 1, 2014 at 8:02 AM, Chris Colman
<ch...@stepaheadsoftware.com>wrote:

> What is involved in telling wicket to fetch its js (jquery etc) from a
> different server. It doesn't have to be a true CDN server just a
> different server to the one the wicket app is running on.
>
> Would this require using wicket-cdn or is there an easy way to just tell
> wicket to fetch its js from a different server?
>
>
>