Hi, The .js file is inside jquery.atmosphere.jar file. It is loaded as any other package resource in Wicket. Wicket Webjars is just a helper that knows how to find the JS file in a webjar (see http://webjars.org).
The benefit of using webjars is that now the application can use any version of Atmosphere, not just the one Wicket-Atmosphere has been released with. All you have to do is to edit your pom.xml. On Dec 10, 2014 5:26 PM, "Daniel Stoch" <[email protected]> wrote: > Hi, > > I'm trying to upgrade Wicket to 6.18 and Atmosphere integration to > 0.21. Unfortunately in WICKET-5674 a new dependency was added > (de.agilecoders.wicket.webjars). Do we really need this dependency, > maybe it can be optional. I don't want to add another external project > to my app and I don't know how this works. > > Where is a jquery.atmosphere.js in wicket-atmosphere module (it was > there up to Wicket 6.16)? Is it downloaded at runtime from the web? > What if my users does not have an internet connection (eg. from > security reasons)? > > -- > Daniel >
