Search in the Documentation:

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)