User Interface Widgets
1、DateTimeWidget
<layout element=”FIELD_NAME” widget=”DateTimeWidget” />
2、BooleanWidget(布尔值控件)
<layout element="FIELD_NAME" widget="BooleanWidget"/>
3、ColorPickerWidget
<layout element="FIELD_NAME" widget="ColorpickerWidget"/>
4、DownloadGalleryWidget
<layout element="FIELD_NAME" widget="DownloadWidget"/>
5、HtmlGalleryWidget
<layout element="FIELD_NAME" widget="HtmlGalleryWidget"/>
6、LinkGalleryWidget
<layout element="FIELD_NAME" widget="StringWidgetPlaintext"/>
7、TableGalleryWidget
<layout element="FIELD_NAME" widget="TableGalleryWidget"/>
8、VfsFileWidget
<layout element="Element" widget="VfsFileWidget"
configuration="startsite=/sites/default/
somepath|hidesiteselector" />
9、HtmlWidget
10、ComboWidget
<layout element="FIELD_NAME" widget="ComboWidget"
configuration="value='Value 1' help='Value 1 Help'|value='Value 2'
help='Value 2 help'" />
11、SelectorWidget
<layout element="Selector" widget="SelectorWidget"
configuration="Option 1|Option 2|Option 3|Option 4" />
12、MultiSelectWidget
<layout element="Selector" widget="MultiSelectorWidget"
configuration="Option 1|Option 2|Option 3|Option 4" />
13、StringWidget
<layout element="FIELD_NAME" widget="StringWidget"/>
14、StringWidgetPlaintext
<layout element="FIELD_NAME" widget="StringWidgetPlaintext"/>
15、TextareaWidget
<layout element="FIELD_NAME" widget="TextareaWidget"
configuration="ROWS"/>
16、TextareaWidgetPlaintext
<layout element="FIELD_NAME" widget="TextareaWidgetPlaintext"
configuration="ROWS"/>
17、DisplayWidget
<layout element="FIELD_NAME" widget="DisplayWidget"/>
18、GroupWidget
<layout element="FIELD_NAME" widget="GroupWidget"/>
19、UserWidget
<layout element="FIELD_NAME" widget="UserWidget"/>
20、Additional Widgets
<widget class="org.opencms.widgets.CmsRadioSelectorWidget"
alias="RadioSelectWidget"/>
<widget class="org.opencms.widgets.CmsPasswordWidget"
alias="PasswordWidget"/>
<widget class="org.opencms.widgets.CmsPrincipalWidget"
alias="PrincipalWidget"/>
<widget class="org.opencms.widgets.CmsOrgUnitWidget"
alias="OrgUnitWidget"/>
21、RadioSelectWidget
<layout element="Selector" widget="RadioSelectWidget"
configuration="Option 1|Option 2|Option 3|Option 4" />
22、PasswordWidget
<layout element="FIELD_NAME" widget="PasswordWidget"/>
23、PrincipalWidget
<layout element="FIELD_NAME" widget="PrincipalWidget"/>
24、OrgUnitWidget
<layout element="FIELD_NAME" widget="OrgUnitWidget"/>