com.silverpeas.form.displayers
Class MapFieldDisplayer
java.lang.Object
com.silverpeas.form.displayers.AbstractFieldDisplayer<TextField>
com.silverpeas.form.displayers.AbstractTextFieldDisplayer<TextField>
com.silverpeas.form.displayers.MapFieldDisplayer
- All Implemented Interfaces:
- FieldDisplayer<TextField>
public class MapFieldDisplayer
- extends AbstractTextFieldDisplayer<TextField>
A UserFieldDisplayer is an object which can display a UserFiel in HTML 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_MAP
public static final String PARAM_MAP
- See Also:
- Constant Field Values
PARAM_HEIGHT
public static final String PARAM_HEIGHT
- See Also:
- Constant Field Values
PARAM_WIDTH
public static final String PARAM_WIDTH
- See Also:
- Constant Field Values
PARAM_KIND
public static final String PARAM_KIND
- See Also:
- Constant Field Values
PARAM_ZOOM
public static final String PARAM_ZOOM
- See Also:
- Constant Field Values
PARAM_ENLARGE
public static final String PARAM_ENLARGE
- See Also:
- Constant Field Values
KIND_NORMAL
public static final String KIND_NORMAL
- See Also:
- Constant Field Values
KIND_SATELLITE
public static final String KIND_SATELLITE
- See Also:
- Constant Field Values
KIND_HYBRID
public static final String KIND_HYBRID
- See Also:
- Constant Field Values
KIND_RELIEF
public static final String KIND_RELIEF
- See Also:
- Constant Field Values
MapFieldDisplayer
public MapFieldDisplayer()
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.
- Parameters:
out
- field
- PagesContext
- template
-
- Throws:
FormException
Copyright © 2016 Silverpeas. All Rights Reserved.