com.silverpeas.form.displayers
Class EmailFieldDisplayer
java.lang.Object
com.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
com.silverpeas.form.displayers.AbstractTextFieldDisplayer<TextField>
com.silverpeas.form.displayers.EmailFieldDisplayer
- All Implemented Interfaces:
- FieldDisplayer<TextField>
public class EmailFieldDisplayer
- extends AbstractTextFieldDisplayer<TextField>
A TextFieldDisplayer 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_MAILTO
public static final String PARAM_MAILTO
- See Also:
- Constant Field Values
PARAM_SIZE
public static final String PARAM_SIZE
- See Also:
- Constant Field Values
EmailFieldDisplayer
public EmailFieldDisplayer()
addSpecificScript
public void addSpecificScript(PrintWriter out,
FieldTemplate template,
PagesContext pageContext)
- Overrides:
addSpecificScript
in class AbstractTextFieldDisplayer<TextField>
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
Copyright © 2016 Silverpeas. All Rights Reserved.