DisplayWidget

From OpenCms Wiki
Jump to: navigation, search

Description

Provides a display only widget, for use on a widget dialog.

The widget is implemented by org.opencms.widgets.CmsDisplayWidget (since 6.0.0).

Configuration

You can configure the help text shown by appending the postfix ".disabled" to the key entry in the bundle properties file.

Example:

 # Element label
 label.MyType.MyElement = My very important element
 
 # Help text that could be used by other widgets
 label.MyType.MyElement.help = This element is very important and should be filled-in with special care
 
 # Help text shown by this widget
 label.MyType.MyElement.help.disabled = This element is very important and cannot yet be edited

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox