public class MapAction extends AbstractPageAction
AbstractPageAction.TerminalResource| Modifier and Type | Field and Description |
|---|---|
protected Form |
configurationForm |
static String |
copyright |
static org.slf4j.Logger |
logger |
protected Map |
map |
protected MapView |
mapView |
CONF_FORM_PREFIX, DEFAULT_LAYOUT_CONTAINER, PAGE_CONFIGURATION_FIELDS, PAGE_CONFIGURATION_FIELDS_NO_DETAIL, pageConfigurationForm, pageInstance, pageTemplate, PORTOFINO_PAGEACTION_EXCEPTION, portofinoConfiguration, returnUrl, script, serverInfo, templatescontext| Constructor and Description |
|---|
MapAction() |
| Modifier and Type | Method and Description |
|---|---|
Resolution |
configure() |
protected void |
configureLocation(org.json.JSONObject result) |
Resolution |
execute() |
MapConfiguration |
getConfiguration() |
Form |
getConfigurationForm() |
Resolution |
getJsonMarkers() |
Map |
getMap() |
MapView |
getMapView() |
List<Marker> |
getMarkers() |
void |
loadObjects() |
Resolution |
mapView() |
protected void |
prepareConfigurationForms()
Sets up the Elements form(s)
|
Resolution |
preparePage()
A lifecycle method invoked during the dispatch phase, where a http request is translated to a dispatch
(a path in the page tree) ultimately leading to an action invocation.
|
Resolution |
updateConfiguration() |
acceptsPathParameter, cancel, consumePathFragment, createTemplateSelectionProvider, forwardTo, forwardToPageActionError, forwardToPageActionNotConfigured, getActionAPIPath, getActionPath, getButtons, getDefaultReturnUrl, getEmbeddedPageActions, getOgnlContext, getPage, getPageConfigurationForm, getPageDescription, getPageInstance, getPages, getPageTemplate, getParent, getPortofinoConfiguration, getResourcePath, getReturnUrl, getScript, getSubResource, initEmbeddedPageActions, isMultipartRequest, prepareScript, readPageConfigurationFromRequest, saveConfiguration, setPageConfigurationForm, setPageInstance, setPageTemplate, setReturnUrl, setScript, updatePageConfiguration, updateScript, updateTemplate, validatePageConfigurationgetContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextsetContextpublic static final String copyright
protected MapView mapView
protected final Map map
protected Form configurationForm
public static final org.slf4j.Logger logger
public Resolution preparePage()
PageActionpublic Resolution configure()
public Resolution updateConfiguration()
protected void prepareConfigurationForms()
AbstractPageActionprepareConfigurationForms in class AbstractPageAction@DefaultHandler public Resolution execute()
public Resolution mapView()
public void loadObjects()
public MapView getMapView()
public Map getMap()
public Form getConfigurationForm()
public MapConfiguration getConfiguration()
getConfiguration in class AbstractPageActionpublic Resolution getJsonMarkers()
protected void configureLocation(org.json.JSONObject result)