Package lumis.doui.control.htmleditor
Class HtmlEditorBlocksValidatorControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.ValidatorControl
-
- lumis.doui.control.htmleditor.HtmlEditorBlocksValidatorControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
,IValidatorControl
public class HtmlEditorBlocksValidatorControl extends ValidatorControl
Validates de blocks of a html field.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.control.ValidatorControl
clientSideValidationEnabled, DEFAULT_VALUE, ERROR_TYPE_CONTROL_BEING_VALIDATED_IS_NOT_CLIENT_SIDE_READABLE, ERROR_TYPE_ERROR_VALIDATING_CONTROL, messages, SOURCE_FIELD_NAME_UNDEFINED, validateOnClientSideEvents
-
Fields inherited from class lumis.doui.control.Control
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 Summary
Constructors Constructor Description HtmlEditorBlocksValidatorControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResource
getControlResource()
String
getScriptValidationFunctionImplementation()
Returns the client side code that must be placed in a client side function to perform the validationprotected Map<String,String>
getStringsToLocalize()
-
Methods inherited from class lumis.doui.control.ValidatorControl
doServerValidation, getClientUniqueId, getControlToValidate, getControlToValidateIds, getControlToValidateSourceFieldName, getDefaultMessageParameters, getDefaultMessages, getLocalizedErrorMessage, getMessages, getMessages, getScriptClear, getScriptSetMessages, getScriptSetMessages, getScriptSetMessages, getScriptValidate, getScriptValidateRegistration, getScriptValidationFunctionName, includeScripts, init, isClientSideValidationEnabled, isValidateOnlyIfVisible, serverValidate, setRenderData
-
Methods inherited from class lumis.doui.control.Control
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, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.doui.control.IControl
buildSubControls, createContainer, disconnect, getChildControls, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
getScriptValidationFunctionImplementation
public String getScriptValidationFunctionImplementation() throws ControlException, PortalException
Description copied from interface:IValidatorControl
Returns the client side code that must be placed in a client side function to perform the validation- Returns:
- a String.
- Throws:
PortalException
ControlException
-
getControlResource
public IResource getControlResource() throws PortalException
- Specified by:
getControlResource
in interfaceIControl
- Overrides:
getControlResource
in classValidatorControl
- Throws:
PortalException
-
getStringsToLocalize
protected Map<String,String> getStringsToLocalize()
- Overrides:
getStringsToLocalize
in classControl
-
-