com.silverpeas.form.displayers
Class UrlFieldDisplayer
java.lang.Object
com.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
com.silverpeas.form.displayers.AbstractTextFieldDisplayer<TextField>
com.silverpeas.form.displayers.UrlFieldDisplayer
- All Implemented Interfaces:
- FieldDisplayer<TextField>
public class UrlFieldDisplayer
- 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 |
UrlFieldDisplayer
public UrlFieldDisplayer()
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.