public class ClientOnlyScript extends ValidatorScriptBase
Modifier and Type | Field and Description |
---|---|
protected LibraryScriptFunction |
converter |
static org.richfaces.resource.ResourceKey |
CSV_RESOURCE |
protected com.google.common.collect.ImmutableList<? extends LibraryScriptFunction> |
validators |
AJAX, AJAX_REF, CLIENT_ID, CLIENT_ID_REF, CONVERTER, CONVERTER_REF, CSV_NAMESPACE, DISABLE_AJAX, DISABLE_AJAX_REF, ELEMENT, ELEMENT_REF, EOL, EVENT, EVENT_REF, GET_VALUE_FUNCTION, MESSAGE, MESSAGE_REF, NULL_CONVERTER_SCRIPT, PARAMS, PARAMS_REF, SOURCE_ID, SOURCE_ID_REF, VALIDATE_FUNCTION, VALIDATE_FUNCTION_NAME, VALIDATORS, VALIDATORS_REF, VALUE_FUNCTION_NAME
Constructor and Description |
---|
ClientOnlyScript(LibraryScriptFunction clientSideConverterScript,
Collection<? extends LibraryScriptFunction> validatorScripts) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendAjaxParameter(Appendable target) |
protected void |
appendConverter(Appendable target,
LibraryScriptFunction converter) |
void |
appendFunctionName(Appendable target) |
protected void |
appendParameters(Appendable target) |
protected void |
appendValidator(Appendable target,
LibraryScriptFunction validatorScript) |
boolean |
equals(Object obj) |
Iterable<org.richfaces.resource.ResourceKey> |
getResources() |
int |
hashCode() |
appendAjaxFunction, appendAjaxParameter, appendBody, appendValidatorCall, createCallScript
addParameter, addToBody, appendScript, getName, setName
appendScriptToStringBuilder, toScript, toString
public static final org.richfaces.resource.ResourceKey CSV_RESOURCE
protected final LibraryScriptFunction converter
protected final com.google.common.collect.ImmutableList<? extends LibraryScriptFunction> validators
public ClientOnlyScript(LibraryScriptFunction clientSideConverterScript, Collection<? extends LibraryScriptFunction> validatorScripts)
public Iterable<org.richfaces.resource.ResourceKey> getResources()
public void appendFunctionName(Appendable target) throws IOException
appendFunctionName
in class org.ajax4jsf.javascript.JSFunctionDefinition
IOException
protected void appendParameters(Appendable target) throws IOException
appendParameters
in class ValidatorScriptBase
IOException
protected void appendValidator(Appendable target, LibraryScriptFunction validatorScript) throws IOException
IOException
protected void appendConverter(Appendable target, LibraryScriptFunction converter) throws IOException
IOException
protected void appendAjaxParameter(Appendable target) throws IOException
IOException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.