Child pages
  • Specification (.spec file)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Properties can be configured with special tags that may be interpreted by the deployment environment.

Servoy defines a property called 'accessible' to configure boolean properties that will always supressed when a component is marked as inaccessible.

Code Block
languagejs
titleTags example
"model": {
   "enabled" : { "type": "protected", "blockingOn": false, "default": true,
                 "tags": { "accessible":"accessible" }
   }
} 

Other supported tags are Supported tags are: scope and directEdit. 

scope: Restricts the model property to: 'design', 'runtime' or 'private'. Design means property can only be assigned from designer (not from scripting). Runtime means the property cannot be assigned from designer (will be hidden in Properties View). Private is an internal property, that should only be used by component itself (so component.js or component_server.js). Will not show in Properties View and cannot be assigned from scripting.

...