@StableMinor(version="12.4", sinceVersion="4.0") public interface IValidatorControl extends IControl
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getControlToValidateIds()
Returns a collection with the ids of the controls to be validated by this validator control.
|
String |
getLocalizedErrorMessage()
Returns the error message generated for the control.
|
String |
getScriptClear()
Clears the message displayed by this validator.
|
String |
getScriptValidate()
Returns the code that needs to be executed on the client side for this validation.
|
String |
getScriptValidateRegistration()
Returns a script that must be placed on the page.
|
String |
getScriptValidationFunctionImplementation()
Returns the client side code that must be placed in a client side function to perform the
validation
|
String |
getScriptValidationFunctionName()
Returns the name of the client side validation function.
|
boolean |
isClientSideValidationEnabled()
Verify if the parameter ClienteSideValidation is enable.
|
boolean |
serverValidate()
Validates all dependent control values on the server side
|
buildSubControls, createContainer, disconnect, getChildControls, getControlResource, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, init, isValid, registerOnEventScript, removeChild, removeChildren, setRenderData, setRuntimeAttributes, setValid
boolean serverValidate() throws PortalException
ControlException
PortalException
String getScriptValidationFunctionName() throws PortalException
PortalException
String getScriptValidate() throws PortalException
PortalException
String getScriptValidationFunctionImplementation() throws PortalException
PortalException
String getScriptValidateRegistration() throws PortalException
PortalException
String getScriptClear() throws PortalException
PortalException
Collection<String> getControlToValidateIds() throws PortalException
PortalException
boolean isClientSideValidationEnabled()
String getLocalizedErrorMessage() throws PortalException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.