public CSVBuilder ajax(boolean value) {
        if (value) {
            buffer.append(",a:").append("true");
        }

        return this;
    }
Helper to generate javascript code of a client side validation*
primefaces/src/main/java/org/primefaces/util/CSVBuilder.java