Package org.opencms.workplace
Class CmsDialogSelector
java.lang.Object
org.opencms.workplace.CmsDialogSelector
Selects the dialog which should be displayed by OpenCms depending on the configuration value.
You can define the class of your dialog handler in the OpenCms XML configuration files. The following files use this class:
- /commons/property_html
- /commons/delete_html
- /commons/lock_html
- /commons/lockchange_html
- /commons/unlock_html
- Since:
- 6.0.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCmsDialogSelector
(CmsJspActionElement jsp, String handler) Public constructor with JSP action element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the uri of the dialog which will be displayed.
-
Field Details
-
DIALOG_DELETE
Constant for the delete dialog handler key name.- See Also:
-
DIALOG_LOCK
Constant for the lock dialog handler key name.- See Also:
-
DIALOG_PROPERTY
Constant for the property dialog handler key name.- See Also:
-
-
Constructor Details
-
CmsDialogSelector
Public constructor with JSP action element.- Parameters:
jsp
- an initialized JSP action elementhandler
- the key name of the dialog handler (use the constants in your classes!)
-
-
Method Details
-
getSelectedDialogUri
Returns the uri of the dialog which will be displayed.- Returns:
- the uri of the property dialog
-