org.opencms.widgets
Class CmsTextareaWidgetPlaintext
java.lang.Object
org.opencms.widgets.A_CmsWidget
org.opencms.widgets.CmsTextareaWidget
org.opencms.widgets.CmsTextareaWidgetPlaintext
- All Implemented Interfaces:
- I_CmsADEWidget, I_CmsWidget
public final class CmsTextareaWidgetPlaintext
- extends CmsTextareaWidget
CmsTextareaWidget that strips HTML Tags from the input before storing values.
- Since:
- 6.3.0
| Methods inherited from class org.opencms.widgets.A_CmsWidget |
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CmsTextareaWidgetPlaintext
public CmsTextareaWidgetPlaintext()
- Defcon.
newInstance
public I_CmsWidget newInstance()
- Description copied from interface:
I_CmsWidget
- Creates a duplicate of this widget instance.
- Specified by:
newInstance in interface I_CmsWidget- Overrides:
newInstance in class CmsTextareaWidget
- Returns:
- a duplicate of this widget instance
- See Also:
CmsTextareaWidget.newInstance()
setEditorValue
public void setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
- Description copied from interface:
I_CmsWidget
- Sets the value of in the given widget parameter by reading the "right"
value from the offered map of parameters.
- Specified by:
setEditorValue in interface I_CmsWidget- Overrides:
setEditorValue in class A_CmsWidget
- Parameters:
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 for- See Also:
A_CmsWidget.setEditorValue(org.opencms.file.CmsObject, java.util.Map, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)