Class MapFieldDisplayer
- java.lang.Object
-
- org.silverpeas.core.contribution.content.form.displayers.AbstractFieldDisplayer<TextField>
-
- org.silverpeas.core.contribution.content.form.displayers.AbstractTextFieldDisplayer
-
- org.silverpeas.core.contribution.content.form.displayers.MapFieldDisplayer
-
- All Implemented Interfaces:
FieldDisplayer<TextField>
public class MapFieldDisplayer extends AbstractTextFieldDisplayer
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
-
-
Field Summary
Fields Modifier and Type Field Description static String
KIND_HYBRID
static String
KIND_NORMAL
static String
KIND_RELIEF
static String
KIND_SATELLITE
static String
PARAM_ENLARGE
static String
PARAM_HEIGHT
static String
PARAM_KIND
static String
PARAM_MAP
static String
PARAM_WIDTH
static String
PARAM_ZOOM
-
Constructor Summary
Constructors Constructor Description MapFieldDisplayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter out, TextField field, FieldTemplate template, PagesContext pageContext)
Prints the HTML value of the field.-
Methods inherited from class org.silverpeas.core.contribution.content.form.displayers.AbstractTextFieldDisplayer
addSpecificScript, displayScripts, getManagedTypes, getNbHtmlObjectsDisplayed, isDisplayedMandatory, update
-
Methods inherited from class org.silverpeas.core.contribution.content.form.displayers.AbstractFieldDisplayer
getDefaultValue, index, update
-
-
-
-
Field Detail
-
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
-
-
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 :- the field type is not a managed type.
- Throws:
FormException
-
-