public class GalleryAction extends AbstractPageAction
AbstractPageAction.TerminalResource
Modifier and Type | Field and Description |
---|---|
protected Form |
configurationForm |
static String |
copyright |
protected Gallery |
gallery |
protected GalleryView |
galleryView |
static org.slf4j.Logger |
logger |
CONF_FORM_PREFIX, DEFAULT_LAYOUT_CONTAINER, PAGE_CONFIGURATION_FIELDS, PAGE_CONFIGURATION_FIELDS_NO_DETAIL, pageConfigurationForm, pageInstance, pageTemplate, PORTOFINO_PAGEACTION_EXCEPTION, portofinoConfiguration, returnUrl, script, serverInfo, templates
context
Constructor and Description |
---|
GalleryAction() |
Modifier and Type | Method and Description |
---|---|
Resolution |
configure() |
Resolution |
execute() |
Resolution |
galleryView() |
GalleryConfiguration |
getConfiguration() |
Form |
getConfigurationForm() |
Gallery |
getGallery() |
GalleryView |
getGalleryView() |
List<Image> |
getImages() |
void |
loadImages() |
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, validatePageConfiguration
getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext
setContext
public static final String copyright
protected GalleryView galleryView
protected final Gallery gallery
protected Form configurationForm
public static final org.slf4j.Logger logger
public Resolution preparePage()
PageAction
public Resolution configure()
public Resolution updateConfiguration()
protected void prepareConfigurationForms()
AbstractPageAction
prepareConfigurationForms
in class AbstractPageAction
@DefaultHandler public Resolution execute()
public Resolution galleryView()
public void loadImages()
public GalleryView getGalleryView()
public Gallery getGallery()
public Form getConfigurationForm()
public GalleryConfiguration getConfiguration()
getConfiguration
in class AbstractPageAction