You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

StaticFieldViewDefinition renders non-editable text that appears next to the label. Use the field to display help text.

This static field definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.field.StaticFieldViewDefinition.

If you work with the Magnolia 5 UI framework, see Static field for Magnolia 5 UI instead.

Example static field definition

static:
  label: Description
  $type: staticField
  value: Used on search engine result pages...

Static field properties

value

required

Text displayed next to the label. Can be specified in an i18n file.

See also Common field properties. The only relevant optional property for a static field is label.

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels