@Controller @RequestMapping(value="VIEW") @SessionAttributes(value="form") public class CalendarSynchronizationEditionController extends Object
| Constructor and Description |
|---|
CalendarSynchronizationEditionController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
formInitBinder(org.springframework.web.bind.WebDataBinder binder)
Calendar form init binder.
|
CalendarSynchronizationEditionForm |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get synchronization source edition form model attribute.
|
CalendarOptions |
getOptions(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get calendar options model attribute.
|
void |
submit(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
CalendarSynchronizationEditionForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
Submit action mapping.
|
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
View render mapping.
|
public CalendarSynchronizationEditionController()
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
request - render requestresponse - render responsejavax.portlet.PortletException@ActionMapping(value="submit")
public void submit(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@Validated @ModelAttribute(value="form")
CalendarSynchronizationEditionForm form,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
throws javax.portlet.PortletException
request - action requestresponse - action responseform - synchronization source edition form model attributeresult - binding resultstatus - session statusjavax.portlet.PortletException@ModelAttribute(value="options") public CalendarOptions getOptions(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@ModelAttribute(value="form") public CalendarSynchronizationEditionForm getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@InitBinder(value="form") public void formInitBinder(org.springframework.web.bind.WebDataBinder binder)
binder - data binderCopyright © 2022 OSIVIA. All rights reserved.