Package org.richfaces.bootstrap.javascript

Examples of org.richfaces.bootstrap.javascript.BootstrapJSPlugin


            throw new IllegalArgumentException("the target component " + component + " is not " + type.getName());
        }
    }

    private String getPluginName() {
        BootstrapJSPlugin bootstrapPlugin = component.getClass().getSuperclass().getAnnotation(BootstrapJSPlugin.class);
        if (bootstrapPlugin == null) {
            throw new IllegalArgumentException("given component does not have Bootstrap JavaScript plugin binding defined");
        }
        return bootstrapPlugin.name();
    }
View Full Code Here

TOP

Related Classes of org.richfaces.bootstrap.javascript.BootstrapJSPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.