Class TextAreaFieldDisplayer
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.displayers.AbstractFieldDisplayer<TextField>
-
- org.silverpeas.core.contribution.content.form.displayers.AbstractTextFieldDisplayer
-
- org.silverpeas.core.contribution.content.form.displayers.TextAreaFieldDisplayer
-
- All Implemented Interfaces:
FieldDisplayer<TextField>
public class TextAreaFieldDisplayer extends AbstractTextFieldDisplayer
A TextAreaFieldDisplayer is an object which can display a TextField in HTML the content of a TextField to a end user and can retrieve via HTTP any updated value.- See Also:
Field
,FieldTemplate
,Form
,FieldDisplayer
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_COLS
static String
PARAM_ROWS
-
Constructor Summary
Constructors Constructor Description TextAreaFieldDisplayer()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext)
Prints the HTML value of the field.-
Methods inherited from class org.silverpeas.core.contribution.content.form.displayers.AbstractTextFieldDisplayer
addSpecificScript, displayScripts, getManagedTypes, getNbHtmlObjectsDisplayed, isDisplayedMandatory, update
-
Methods inherited from class org.silverpeas.core.contribution.content.form.displayers.AbstractFieldDisplayer
getDefaultValue, index, update
-
-
-
-
Field Detail
-
PARAM_ROWS
public static final String PARAM_ROWS
- See Also:
- Constant Field Values
-
PARAM_COLS
public static final String PARAM_COLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
display
public void display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext) throws FormException
Prints the HTML value of the field. The displayed value must be updatable by the end user. The value format may be adapted to a local language. The fieldName must be used to name the html form input. Never throws an Exception but log a silvertrace and writes an empty string when :- the field type is not a managed type.
- Throws:
FormException
-
-