Package org.richfaces.javascript

Examples of org.richfaces.javascript.Message


    protected String getJavaScriptFunctionName() {
        return "sendMessage";
    }

    protected Message getErrorMessage() {
        return new Message(2, "error summary", "error description");
    }
View Full Code Here


        this.facesEnvironment.release();
        this.facesEnvironment = null;
    }

    protected Message getErrorMessage() {
        return new Message(2, "error", "script error");
    }
View Full Code Here

    }

    private Object getErrorMessage(Validator validator) {
        FacesValidatorServiceImpl validatorService = new FacesValidatorServiceImpl();
        FacesMessage message = validatorService.getMessage(facesEnvironment.getFacesContext(), validator, input, null);
        return new Message(message);
    }
View Full Code Here

    }

    private Object getErrorMessage(Converter converter) {
        ConverterServiceImpl converterService = new ConverterServiceImpl();
        FacesMessage message = converterService.getMessage(facesEnvironment.getFacesContext(), converter, input, null);
        return new Message(message);
    }
View Full Code Here

    private Map<String, Object> parameters = Maps.newHashMap();
    private final Message message;

    public BaseFacesObjectDescriptor(Class<? extends T> converterClass, FacesMessage message) {
        this.converterClass = converterClass;
        this.message = new Message(message);
    }
View Full Code Here

        this.facesEnvironment.release();
        this.facesEnvironment = null;
    }

    protected Message getErrorMessage() {
        return new Message(2, "error", "script error");
    }
View Full Code Here

    private Map<String, Object> parameters = Maps.newHashMap();
    private final Message message;

    public BaseFacesObjectDescriptor(Class<? extends T> converterClass, FacesMessage message) {
        this.converterClass = converterClass;
        this.message = new Message(message);
    }
View Full Code Here

    protected String getJavaScriptFunctionName() {
        return "sendMessage";
    }

    protected Message getErrorMessage() {
        return new Message(2, "error summary", "error description");
    }
View Full Code Here

TOP

Related Classes of org.richfaces.javascript.Message

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.