org.opencms.widgets
Class CmsTextareaWidgetPlaintext

java.lang.Object
  extended byorg.opencms.widgets.A_CmsWidget
      extended byorg.opencms.widgets.CmsTextareaWidget
          extended byorg.opencms.widgets.CmsTextareaWidgetPlaintext
All Implemented Interfaces:
I_CmsWidget

public final class CmsTextareaWidgetPlaintext
extends CmsTextareaWidget

CmsTextareaWidget that strips HTML Tags from the input before storing values.

Since:
6.3.0
Version:
$Revision: 1.4 $
Author:
Achim Westermann

Field Summary
 
Fields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX
 
Constructor Summary
CmsTextareaWidgetPlaintext()
          Defcon.
 
Method Summary
 I_CmsWidget newInstance()
          Creates a duplicate of this widget instance.
 void setEditorValue(CmsObject cms, java.util.Map 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.
 
Methods inherited from class org.opencms.widgets.CmsTextareaWidget
getDialogWidget
 
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
 

Constructor Detail

CmsTextareaWidgetPlaintext

public CmsTextareaWidgetPlaintext()
Defcon.

Method Detail

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
See Also:
CmsTextareaWidget.newInstance()

setEditorValue

public void setEditorValue(CmsObject cms,
                           java.util.Map 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
See Also:
A_CmsWidget.setEditorValue(org.opencms.file.CmsObject, java.util.Map, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)