Package org.richfaces.javascript

Examples of org.richfaces.javascript.LibraryFunction


        return createClientFunction(facesContext, converter, clientScriptService);
    }

    private LibraryScriptFunction createClientFunction(FacesContext facesContext, FacesObjectDescriptor descriptor,
            ClientScriptService clientScriptService) throws ScriptNotFoundException {
        LibraryFunction script = clientScriptService.getScript(facesContext, descriptor.getImplementationClass());
        return new LibraryScriptFunction(script, descriptor.getMessage(), descriptor.getAdditionalParameters());
    }
View Full Code Here


    private LibraryScriptFunction createConverterFunction() {
        return createFunction(NUMBER_CONVERTER, VALIDATOR_MESSAGE);
    }

    private LibraryScriptFunction createFunction(final String name, Message validatorMessage) {
        LibraryFunction libraryScript = new LibraryFunction() {
            public String getName() {
                return name;
            }

            public Iterable<ResourceKey> getResources() {
View Full Code Here

    private LibraryScriptFunction createConverterFunction() {
        return createFunction(NUMBER_CONVERTER, VALIDATOR_MESSAGE);
    }

    private LibraryScriptFunction createFunction(final String name, Message validatorMessage) {
        LibraryFunction libraryScript = new LibraryFunction() {
            public String getName() {
                return name;
            }

            public Iterable<ResourceKey> getResources() {
View Full Code Here

TOP

Related Classes of org.richfaces.javascript.LibraryFunction

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.