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 > > >