@Controller
@RequestMapping(value="VIEW")
public class ContactController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletConfigAware, org.springframework.web.portlet.context.PortletContextAware
| Constructor and Description |
|---|
ContactController() |
| Modifier and Type | Method and Description |
|---|---|
void |
captchaImage(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Form form) |
String |
defaultView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
void |
formInitBinder(org.springframework.web.bind.WebDataBinder binder)
Contactform init binder.
|
Form |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
void |
postConstruct() |
void |
reloadImage(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Form form) |
void |
sendMail(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Form form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status) |
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
void |
setPortletContext(javax.portlet.PortletContext portletContext) |
addCommentAction, createNuxeoController, deleteCommentAction, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, init, isResourceExpired, processCommentAction, serveResource, serveResourceByCache, serveResourceEditor, serveResourceException, serveResourceFancytreeLazyLoadingaddNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedoDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, render@PostConstruct public void postConstruct() throws javax.portlet.PortletException
javax.portlet.PortletException@RenderMapping public String defaultView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException@ModelAttribute(value="form") public Form getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
@ActionMapping(name="submit",
params="send")
public void sendMail(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form") @Validated
Form form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
throws javax.portlet.PortletException,
IOException
javax.portlet.PortletExceptionIOExceptionpublic void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAwarepublic void setPortletContext(javax.portlet.PortletContext portletContext)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAware@InitBinder(value="form") public void formInitBinder(org.springframework.web.bind.WebDataBinder binder)
binder - data binder@ResourceMapping(value="captcha")
public void captchaImage(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@ModelAttribute(value="form")
Form form)
throws IOException
IOException@ActionMapping(name="submit",
params="reload")
public void reloadImage(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
Form form)
Copyright © 2021 OSIVIA. All rights reserved.