public class ClientAndAjaxScript extends ClientOnlyScript
converter, CSV_RESOURCE, oninvalid, onvalid, 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
COLON, COMMA, DOT, EMPTY_STRING, EQUALS, FUNCTION, LEFT_CURLY_BRACKET, LEFT_ROUND_BRACKET, LEFT_SQUARE_BRACKET, RIGHT_CURLY_BRACKET, RIGHT_ROUND_BRACKET, RIGHT_SQUARE_BRACKET
Constructor and Description |
---|
ClientAndAjaxScript(LibraryScriptFunction clientSideConverterScript,
Collection<? extends LibraryScriptFunction> validatorScripts,
String ajaxScript,
String onvalid,
String oninvalid) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendAjaxParameter(Appendable target) |
boolean |
equals(Object obj) |
Iterable<ResourceKey> |
getResources()
Returns a list of resources contained in this resource library
|
int |
hashCode() |
appendConverter, appendFunctionName, appendParameters, appendValidator
appendAjaxFunction, appendAjaxParameter, appendBody, appendValidatorCall, createCallScript
addParameter, addToBody, appendScript, getName, setName
appendScriptToStringBuilder, toScript, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
appendScript, appendScriptToStringBuilder, toScript
public ClientAndAjaxScript(LibraryScriptFunction clientSideConverterScript, Collection<? extends LibraryScriptFunction> validatorScripts, String ajaxScript, String onvalid, String oninvalid)
public Iterable<ResourceKey> getResources()
ResourceLibrary
Returns a list of resources contained in this resource library
The result does not have to be stable; i.e. the returned list of resources may differ for each execution based on context, configuration, time, etc.
getResources
in interface ResourceLibrary
getResources
in class ClientOnlyScript
protected void appendAjaxParameter(Appendable target) throws IOException
appendAjaxParameter
in class ClientOnlyScript
IOException
public int hashCode()
hashCode
in class ClientOnlyScript
public boolean equals(Object obj)
equals
in class ClientOnlyScript
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.