org.jasig.portlet.emailpreview.controller
Class AjaxUpdatePageSizeController

java.lang.Object
  extended by org.jasig.portlet.emailpreview.controller.AjaxUpdatePageSizeController

@Controller
@RequestMapping(value="VIEW")
public class AjaxUpdatePageSizeController
extends Object

Responsible for remembering the user's pageSize selection with PortletPreferences.

Author:
Drew Wills, drew@unicon.net

Constructor Summary
AjaxUpdatePageSizeController()
           
 
Method Summary
 void setAjaxPortletSupportService(org.jasig.web.service.AjaxPortletSupportService ajaxPortletSupportService)
          Set the service for handling portlet AJAX requests.
 void updatePageSize(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res, int newPageSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxUpdatePageSizeController

public AjaxUpdatePageSizeController()
Method Detail

setAjaxPortletSupportService

public void setAjaxPortletSupportService(org.jasig.web.service.AjaxPortletSupportService ajaxPortletSupportService)
Set the service for handling portlet AJAX requests.

Parameters:
ajaxPortletSupportService -

updatePageSize

@RequestMapping(params="action=updatePageSize")
public void updatePageSize(javax.portlet.ActionRequest req,
                                          javax.portlet.ActionResponse res,
                                          @RequestParam(value="newPageSize")
                                          int newPageSize)
                    throws Exception
Throws:
Exception


Copyright © 2011 Jasig. All Rights Reserved.