public final class CmsTextareaWidgetPlaintext extends CmsTextareaWidget
CmsTextareaWidget
that strips HTML Tags from the input before storing values.A_CmsWidget.CmsDummyWidgetDialog
HELP_POSTFIX, LABEL_PREFIX
构造器和说明 |
---|
CmsTextareaWidgetPlaintext()
Defcon.
|
限定符和类型 | 方法和说明 |
---|---|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
void |
setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Sets the value of in the given widget parameter by reading the "right"
value from the offered map of parameters.
|
getConfiguration, getCssResourceLinks, getDefaultDisplayType, getDialogWidget, getInitCall, getJavaScriptResourceLinks, getWidgetName, isInternal
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setConfiguration
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setConfiguration
public I_CmsWidget newInstance()
I_CmsWidget
newInstance
在接口中 I_CmsWidget
newInstance
在类中 CmsTextareaWidget
CmsTextareaWidget.newInstance()
public void setEditorValue(CmsObject cms, java.util.Map<java.lang.String,java.lang.String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
I_CmsWidget
setEditorValue
在接口中 I_CmsWidget
setEditorValue
在类中 A_CmsWidget
cms
- the current users OpenCms contextformParameters
- the map of parameters to get the value fromwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget forA_CmsWidget.setEditorValue(org.opencms.file.CmsObject, java.util.Map, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)