Initializes the layout for this content handler.
Unless otherwise instructed, the editor uses one specific GUI widget for each
XML value schema type. For example, for a
org.opencms.xml.types.CmsXmlStringValuethe default widget is the
org.opencms.widgets.CmsInputWidget.
However, certain values can also use more then one widget, for example you may
also use a
org.opencms.widgets.CmsCheckboxWidget for a String value,
and as a result the Strings possible values would be eithe "false"
or "true"
,
but nevertheless be a String.
The widget to use can further be controlled using the widget
attribute.
You can specify either a valid widget alias such as StringWidget
,
or the name of a Java class that implements
I_CmsWidget
.
Configuration options to the widget can be passed using the configuration
attribute. You can specify any String as configuration. This String is then passed
to the widget during initialization. It's up to the individual widget implementation
to interpret this configuration String.