Package org.opencms.workplace
Class CmsDialogSelector
- java.lang.Object
-
- org.opencms.workplace.CmsDialogSelector
-
public class CmsDialogSelector extends java.lang.Object
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:
I_CmsDialogHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DIALOG_DELETE
Constant for the delete dialog handler key name.static java.lang.String
DIALOG_LOCK
Constant for the lock dialog handler key name.static java.lang.String
DIALOG_PROPERTY
Constant for the property dialog handler key name.
-
Constructor Summary
Constructors Constructor Description CmsDialogSelector(CmsJspActionElement jsp, java.lang.String handler)
Public constructor with JSP action element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSelectedDialogUri()
Returns the uri of the dialog which will be displayed.
-
-
-
Field Detail
-
DIALOG_DELETE
public static final java.lang.String DIALOG_DELETE
Constant for the delete dialog handler key name.- See Also:
- Constant Field Values
-
DIALOG_LOCK
public static final java.lang.String DIALOG_LOCK
Constant for the lock dialog handler key name.- See Also:
- Constant Field Values
-
DIALOG_PROPERTY
public static final java.lang.String DIALOG_PROPERTY
Constant for the property dialog handler key name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsDialogSelector
public CmsDialogSelector(CmsJspActionElement jsp, java.lang.String handler)
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 Detail
-
getSelectedDialogUri
public java.lang.String getSelectedDialogUri()
Returns the uri of the dialog which will be displayed.- Returns:
- the uri of the property dialog
-
-