|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="4.1", sinceVersion="4.0") public interface IValidatorControl
Interface que controls que faz validação devem implementar
Method Summary | |
---|---|
Collection<String> |
getControlToValidateIds()
Returns a collection with the ids of the controls to be validated by this validator 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. e.g. return value: Validate_ |
boolean |
isClientSideValidationEnabled()
Verify if the parameter ClienteSideValidation is enable. |
boolean |
serverValidate()
Validates all dependent control values on the server side |
Methods inherited from interface lumis.doui.control.IControl |
---|
buildSubControls, createContainer, disconnect, getChildControls, getControlResource, getId, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, init, isValid, registerOnEventScript, removeChild, removeChildren, setRenderData, setRuntimeAttributes, setValid |
Method Detail |
---|
boolean serverValidate() throws PortalException
ControlException
PortalException
String getScriptValidationFunctionName() throws PortalException
String getScriptValidate() throws PortalException
String getScriptValidationFunctionImplementation() throws PortalException
PortalException
String getScriptValidateRegistration() throws PortalException
PortalException
String getScriptClear() throws PortalException
PortalException
Collection<String> getControlToValidateIds() throws PortalException
PortalException
boolean isClientSideValidationEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |