All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.datatables.res.DataTablesPluginJsReference Maven / Gradle / Ivy

There is a newer version: 10.3.0
Show newest version
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