Hi Martin Thanks for the updated DataTables in wicketstuff, this works well under tomcat, but deployed on wildfly I get the following error still.
20:59:56,175 WARN [org.apache.wicket.request.resource.ResourceReferenceRegistry] (default task-22) A ResourceReference wont be created for a resource with key [scope: de.agilecoders.wicket.webjars.request.resource.WebjarsJavaScriptResourceReference; name: webjars/datatables/null/js/jquery.dataTables.js; locale: null; style: null; variation: null] because it cannot be located. Any thought or help is much appreciated. This is the webjars initialisation output. [wicket-webjars] (default task-1) initialize wicket webjars with given settings: WebjarsSettings{readFromCacheTimeout=3 seconds, resourceStreamProvider=ClassLoader, recentVersionPlaceHolder='current', assetPathCollectors=[de.agilecoders.wicket.webjars.collectors.FileAssetPathCollector@6bdf16ff, de.agilecoders.wicket.webjars.collectors.JarAssetPathCollector@35ef6ad], webjarsPackage='META-INF.resources.webjars', webjarsPath='META-INF/resources/webjars', resourcePattern=.*, webjarsPathPattern=/webjars/([^/]*)/([^/]*)/(.*), useCdnResources=false, cdnUrl='//cdn.jsdelivr.net:80'} On 26 August 2014 19:36, Martin Grigorov <mgrigo...@apache.org> wrote: > wicket-6.x is the exact name of the branch > a PR to master is also welcome! Otherwise I'll try to cherry-pick it > (sometimes this doesn't work smoothly and I have to do it manually). > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Tue, Aug 26, 2014 at 9:33 PM, David Beer <david.m.b...@gmail.com> > wrote: > > > Hi Martin > > > > Thanks for spotting that will have a look. PR against 6.0x branch? > > > > Thanks > > > > David > > > > > > > > On 26 August 2014 19:15, Martin Grigorov <mgrigo...@apache.org> wrote: > > > > > OK. > > > > > > I see 1.10.2 has changed the way it packs the css/js resources - there > is > > > no 'media' folder anymore. > > > Please try it and send Pull Request if it works. > > > Thanks! > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > https://twitter.com/mtgrigorov > > > > > > > > > On Tue, Aug 26, 2014 at 9:10 PM, David Beer <david.m.b...@gmail.com> > > > wrote: > > > > > > > Hi Martin > > > > > > > > I am using the DataTables module from wicketstuff. I am simply > > installing > > > > webjars with WicketWebjars.install(this); > > > > > > > > This where the reference is made to the DataTables css file, > > > > > > > > > > > > > > https://github.com/wicketstuff/core/blob/core-6.16.0/jdk-1.6-parent/datatables-parent/datatables/src/main/java/org/wicketstuff/datatables/DataTablesCssReference.java > > > > > > > > javascript reference is the same. > > > > > > > > I have simply copied the example code. > > > > > > > > Thanks > > > > > > > > David > > > > > > > > > > > > On 26 August 2014 18:02, Martin Grigorov <mgrigo...@apache.org> > wrote: > > > > > > > > > Hi, > > > > > > > > > > How do you use the webjar ? > > > > > Show us the code of the resource reference's constructor. > > > > > > > > > > Martin Grigorov > > > > > Wicket Training and Consulting > > > > > https://twitter.com/mtgrigorov > > > > > > > > > > > > > > > On Mon, Aug 25, 2014 at 9:37 PM, David Beer < > david.m.b...@gmail.com> > > > > > wrote: > > > > > > > > > > > Hi All > > > > > > > > > > > > I am trying to use DataTables from wicketstuff in order to see if > > it > > > > will > > > > > > fit my requirements. However I am getting the following error. > > > > > > > > > > > > 19:34:16,427 WARN > > > > > > [org.apache.wicket.request.resource.ResourceReferenceRegistry] > > > > (default > > > > > > task-22) A ResourceReference wont be created for a resource with > > key > > > > > > [scope: > > > > > > > > > > > > > > > > > > > > > > > > > > > de.agilecoders.wicket.webjars.request.resource.WebjarsJavaScriptResourceReference; > > > > > > name: webjars/datatables/null/media/js/jquery.dataTables.js; > > locale: > > > > > null; > > > > > > style: null; variation: null] because it cannot be located. > > > > > > > > > > > > I am using wildfly 8.1.0, and happend to be using > wicket-bootstrap, > > > > that > > > > > > works fine. > > > > > > > > > > > > Any Ideas. > > > > > > > > > > > > Thanks > > > > > > > > > > > > David > > > > > > > > > > > > > > > > > > > > >