With Scrivito, every page is usually made up of widgets that are contained in a single widget list at the top level. To this widget list, plain content widgets (e.g. for text and images), but also structural widgets (columns, boxes, and the like) can be added.
Widget lists can be made available on pages and in widgets by providing the corresponding Scrivito class with one or several attributes of the widgetlist
type.
The widgetlist
type is the key to structuring content. For example, each column of a column widget needs to be represented by a widgetlist
attribute for being able to accommodate text, image, and other content widgets, or even additional structural widgets.