- Source:
Classes
Methods
-
<inner> displayValidationMessage()
-
Handles the results of server side validation
- Source:
-
<inner> updateConfig(config)
-
Populates the widget with the given config
Parameters:
Name Type Description configAciWidgetConfig The new config for the widget
- Source:
-
<protected, inner> updateInputValidation($input, isValid, message)
-
Updates the formatting of the given input
If isValid is true, removes errorClass from the input and hides elements with the class
settings-client-validationIf isValid is false, adds errorClass to the input and shows elements with the class
settings-client-validationParameters:
Name Type Description $inputjQuery The input to apply the classes to
isValidboolean True if the input is valid; false otherwise
messagestring Validation message to display
- Source:
Type Definitions
-
AciWidgetConfig
-
- Source:
Properties:
Name Type Argument Description hoststring The host the server is located on
portnumber The ACI port of the server
protocolstring The protocol used to communicate with the server (http or https)
productTypestring The expected ProductTypeCSV of the server
indexErrorMessagestring <optional>
The error message to expect when running a test index command. May be
missing if the ACI server type does not have an index port -
AciWidgetOptions
-
Extends ServerWidgetOptions
- Source:
Properties:
Name Type Description stringsAciWidgetStrings Strings for the widget
-
AciWidgetStrings
-
Extends ServerWidgetStrings
- Source:
Properties:
Name Type Description validateHostBlankstring String which indicates that the entered host is blank
validatePortInvalidstring String which indicates that the entered port is blank, or is <= 0 or
> 65535 -
AciWidgetTemplateParameters
-
- Source:
Properties:
Name Type Description stringsAciWidgetStrings Strings for the widget