public class IntegerDataTypeValidatorControl extends ValidatorControl
<control:lum_integerDataTypeValidator minimumValue="1" maximumValue="1000"/>
xml data available for xsl rendering:
<control id="8A488A0311DCC4930111DD01078D08EB" maximumValue="1000" minimumValue="1" type="lum_integerDataTypeValidator">
<script><!-- validation javascript --></script>
<data>
<clientUniqueId>Form_8A488A0311DCC4930111DD00A21208B58A488A0311DCC4930111DD01078D08EB</clientUniqueId>
</data>
</control>
Class responsible for validating integer values on DOUI controls.clientSideValidationEnabled, DEFAULT_VALUE, ERROR_TYPE_CONTROL_BEING_VALIDATED_IS_NOT_CLIENT_SIDE_READABLE, ERROR_TYPE_ERROR_VALIDATING_CONTROL, messages, SOURCE_FIELD_NAME_UNDEFINED, validateOnClientSideEvents
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
Constructor and Description |
---|
IntegerDataTypeValidatorControl() |
Modifier and Type | Method and Description |
---|---|
boolean |
doServerValidation()
Performs the server validation of the controls for this validator.
|
IResource |
getControlResource() |
protected String[] |
getDefaultMessageParameters() |
protected ValidationMessages |
getDefaultMessages(String errorType) |
String |
getScriptValidationFunctionImplementation()
Returns the client side code that must be placed in a client side function to perform the
validation
|
protected void |
includeScripts() |
void |
init(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl) |
getClientUniqueId, getControlToValidate, getControlToValidateIds, getControlToValidateSourceFieldName, getLocalizedErrorMessage, getMessages, getMessages, getScriptClear, getScriptSetMessages, getScriptSetMessages, getScriptSetMessages, getScriptValidate, getScriptValidateRegistration, getScriptValidationFunctionName, isClientSideValidationEnabled, isValidateOnlyIfVisible, serverValidate, setRenderData
appendSubControl, appendSubControls, applyOnEventScripts, buildSubControls, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getRuntimeDefaultSource, getScriptActionValidation, getSourceContext, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildSubControls, createContainer, disconnect, getChildControls, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes, setValid
public void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
init
in interface IControl
init
in class ValidatorControl
PortalException
public boolean doServerValidation() throws PortalException
ValidatorControl
doServerValidation
in class ValidatorControl
PortalException
ValidatorControl.serverValidate()
protected void includeScripts() throws PortalException
includeScripts
in class ValidatorControl
PortalException
public String getScriptValidationFunctionImplementation() throws PortalException
IValidatorControl
PortalException
protected ValidationMessages getDefaultMessages(String errorType) throws PortalException
getDefaultMessages
in class ValidatorControl
PortalException
protected String[] getDefaultMessageParameters() throws PortalException
getDefaultMessageParameters
in class ValidatorControl
PortalException
public IResource getControlResource() throws PortalException
getControlResource
in interface IControl
getControlResource
in class ValidatorControl
PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.