Package org.opencms.widgets
Class CmsInputWidgetPlaintext
java.lang.Object
org.opencms.widgets.A_CmsWidget
org.opencms.widgets.CmsInputWidget
org.opencms.widgets.CmsInputWidgetPlaintext
- All Implemented Interfaces:
I_CmsADEWidget,I_CmsWidget
CmsInputWidget that strips HTML Tags from the input before storing values.- Since:
- 6.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.widgets.A_CmsWidget
A_CmsWidget.CmsDummyWidgetDialog -
Field Summary
Fields inherited from class org.opencms.widgets.CmsInputWidget
CONF_AUTO_TYPOGRAPHY, CONF_TYPOGRAPHYFields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a duplicate of this widget instance.voidsetEditorValue(CmsObject cms, Map<String, 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.Methods inherited from class org.opencms.widgets.CmsInputWidget
getConfiguration, getCssResourceLinks, getDefaultDisplayType, getDialogWidget, getInitCall, getJavaScriptResourceLinks, getWidgetName, isInternalMethods inherited from class org.opencms.widgets.A_CmsWidget
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.widgets.I_CmsWidget
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setConfiguration
-
Constructor Details
-
CmsInputWidgetPlaintext
public CmsInputWidgetPlaintext()Defcon.
-
-
Method Details
-
newInstance
Description copied from interface:I_CmsWidgetCreates a duplicate of this widget instance.- Specified by:
newInstancein interfaceI_CmsWidget- Overrides:
newInstancein classCmsInputWidget- Returns:
- a duplicate of this widget instance
- See Also:
-
setEditorValue
public void setEditorValue(CmsObject cms, Map<String, String[]> formParameters, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Description copied from interface:I_CmsWidgetSets the value of in the given widget parameter by reading the "right" value from the offered map of parameters.- Specified by:
setEditorValuein interfaceI_CmsWidget- Overrides:
setEditorValuein classA_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:
-