com.silverpeas.form.displayers
Class TextAreaFieldDisplayer

java.lang.Object
  extended by com.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
      extended by com.silverpeas.form.displayers.AbstractTextFieldDisplayer<TextField>
          extended by com.silverpeas.form.displayers.TextAreaFieldDisplayer
All Implemented Interfaces:
FieldDisplayer<TextField>

public class TextAreaFieldDisplayer
extends AbstractTextFieldDisplayer<TextField>

A TextAreaFieldDisplayer is an object which can display a TextFiel in HTML the content of a TextFiel to a end user and can retrieve via HTTP any updated value.

See Also:
Field, FieldTemplate, Form, FieldDisplayer

Field Summary
static String PARAM_COLS
           
static String PARAM_ROWS
           
 
Constructor Summary
TextAreaFieldDisplayer()
          Constructeur
 
Method Summary
 void display(PrintWriter out, TextField field, FieldTemplate template, PagesContext PagesContext)
          Prints the HTML value of the field.
 
Methods inherited from class com.silverpeas.form.displayers.AbstractTextFieldDisplayer
addMandatoryScript, addSpecificScript, displayScripts, getManagedTypes, getNbHtmlObjectsDisplayed, isDisplayedMandatory, update
 
Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer
index, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

TextAreaFieldDisplayer

public TextAreaFieldDisplayer()
Constructeur

Method Detail

display

public void display(PrintWriter out,
                    TextField field,
                    FieldTemplate template,
                    PagesContext PagesContext)
             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 :

Throws:
FormException


Copyright © 2016 Silverpeas. All Rights Reserved.