Class CQ.utils.Form
| Package: | CQ.utils |
| Class: | Form |
| Extends: | Object |
| Clientlib: | cq.widgets |
A helper class providing a set of utilities related to forms.
Although not listed here, Form has all the members of CQ.wcm.EditBase
Although not listed here CQ.utils.Form has all the members of
CQ.shared.Form.
This class is a singleton and cannot be created directly.
Public Properties
| |
operators : Object
<static> An object that contains a collection of different operators.
|
Form |
Public Methods
| |
parseCondition() : Object|null
Utility function to look for an operator which can parse the given expression clause.
Utility function to look for an operator which can parse the given expression clause.
Parameters:
Returns:
Object|nullIf successful, returns an object with the following fields: operator : StringThe operator's key. left : StringThe left operand. right : StringThe right operand.
|
Form |
| |
requiresReloadForPreview() : Boolean
Determines if a refresh is needed for preview.
Determines if a refresh is needed for preview.
|
Form |
Public Events
This class has no public events.