Learn how Scrivito CMS can help you deliver amazing digital experiences
See Scrivito CMS in action



The base class for widgets. Through their object class, widgets can be equipped with custom attributes of various types.

System attributes

Widget provides the following system attributes to all widgets:

Attribute nameGetterPurposeRead only
id (String)id()Unique identifier of the widget
_objClass (String)objClass()CMS object model class, e.g. ”TextWidget”

Constructor summary

Instance method summary