@Controller @RequestMapping(value="VIEW") public class SearchViewController extends Object
| Constructor and Description |
|---|
SearchViewController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SearchForm |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get form model attribute.
|
void |
search(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
SearchForm form)
Search action mapping.
|
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
View render mapping.
|
@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@ActionMapping(value="search")
public void search(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
SearchForm form)
throws javax.portlet.PortletException,
IOException
request - action requestresponse - action responseform - form model attributejavax.portlet.PortletExceptionIOException@ModelAttribute(value="form") public SearchForm getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionCopyright © 2022. All rights reserved.