-
Templating and Integration Guide
- Part 1: Concepts
- Part 2: Modules
- Part 3: Templates and Studio
- Part 4: Content Definitions and Views
- Part 5: Advanced Techniques
- Part 6: Setting up an integration environment
- Part 7: Step by step integration
- Further reading and resources
Input masks
Among the extensions to the JCR standard definitions, Jahia allows definitions to include « hints » to generate the input forms. Depending on the property type, a corresponding input field will be provided. It is possible to override the default input field by adding a specifier after the type definition, as in the following examples.
- field-name (string) : will display a simple single-line text input field
- field-name (string, richtext) : will display a rich text editor
- field-name (string, choicelist) : will display a drop down list
- field-name (long) : will display an input text field on a single line
- filed-name (boolean) : will display a checkbox
- field-name (weakreference, picker[type='image']) : will display a pop-up window that allows browsing and selection of the specified content type (in the above example, the picker will display only images)

