Class TextFieldDisplayer
- 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.TextFieldDisplayer
-
- All Implemented Interfaces:
FieldDisplayer<TextField>
public class TextFieldDisplayer extends AbstractTextFieldDisplayer
A TextFieldDisplayer 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
-
-
Constructor Summary
Constructors Constructor Description TextFieldDisplayer()
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
index, update
-
-
-
-
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
-
-