org.wicketstuff.datatables.res.DataTablesPluginJsReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-datatables Show documentation
Show all versions of wicketstuff-datatables Show documentation
DataTables jQuery integration for Wicket
package org.wicketstuff.datatables.res;
import org.apache.wicket.markup.head.HeaderItem;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.resource.JQueryPluginResourceReference;
import java.util.List;
import java.util.Locale;
public abstract class DataTablesPluginJsReference extends JQueryPluginResourceReference {
public DataTablesPluginJsReference(final Class> scope, final String name) {
super(scope, name);
}
public DataTablesPluginJsReference(final Class> scope, final String name, final Locale locale, final String style, final String variation) {
super(scope, name, locale, style, variation);
}
@Override
public List getDependencies() {
List dependencies = super.getDependencies();
dependencies.add(JavaScriptHeaderItem.forReference(new DataTablesJsReference()));
return dependencies;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy