public AjaxRequestBuilder form(AjaxSource source, UIComponent component) {
        return form(source, component, null);
    }
Helper to generate javascript code of an ajax call
primefaces/src/main/java/org/primefaces/util/AjaxRequestBuilder.java