Class 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

    See Also:
    • Field Summary

      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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CmsDialogSelector

        public CmsDialogSelector​(CmsJspActionElement jsp,
                                 java.lang.String handler)
        Public constructor with JSP action element.

        jsp - an initialized JSP action element
        handler - 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.

        the uri of the property dialog