public final class CmsTextareaWidgetPlaintext extends CmsTextareaWidget
CmsTextareaWidget
that strips HTML Tags from the input before storing values.A_CmsWidget.CmsDummyWidgetDialog
HELP_POSTFIX, LABEL_PREFIX
Constructor and Description |
---|
CmsTextareaWidgetPlaintext()
Defcon.
|
Modifier and Type | Method and Description |
---|---|
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setConfiguration
public CmsTextareaWidgetPlaintext()
public I_CmsWidget newInstance()
I_CmsWidget
newInstance
in interface I_CmsWidget
newInstance
in class 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
in interface I_CmsWidget
setEditorValue
in class 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)