public interface I_CmsDialogHandler extends I_CmsConfigurationParameterHandler
You can define the class of your own dialog handler in the OpenCms opencms-workplace.xml changing the <class> attribute of the node <dialoghandler> to another value. The class you enter must implement this interface to obtain the URI of the displayed dialog.
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDialogHandler()
Returns the name of the handler which is used as key for the OpenCms runtime properties.
|
java.lang.String |
getDialogUri(java.lang.String resource,
CmsJspActionElement jsp)
Returns the dialog URI in the OpenCms VFS to the dialog selector class.
|
addConfigurationParameter, getConfiguration, initConfiguration
java.lang.String getDialogHandler()
Store the name of the key as a public String constant in the CmsDialogSelector class.
java.lang.String getDialogUri(java.lang.String resource, CmsJspActionElement jsp)
resource
- the selected resourcejsp
- the CmsJspActionElement