com.silverpeas.form.displayers
Class UrlFieldDisplayer

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.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

Constructor Summary
UrlFieldDisplayer()
           
 
Method Summary
 void display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext)
          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
 

Constructor Detail

UrlFieldDisplayer

public UrlFieldDisplayer()
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 :

Throws:
FormException


Copyright © 2016 Silverpeas. All Rights Reserved.