public class RefreshControllerServiceImpl extends Object implements RefreshControllerService
Constructor and Description |
---|
RefreshControllerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected ModelAndViewService |
getModelAndViewService()
Instance of model and view service to use within the collection service.
|
protected void |
invokeQuickfinderCallback(UifFormBase form,
javax.servlet.http.HttpServletRequest request,
String quickfinderId)
Retrieves post metadata for the quickfinder component with the given id and if a callback method
has been configured, invokes that callback method.
|
protected void |
processMultiValueReturn(UifFormBase form,
javax.servlet.http.HttpServletRequest request)
Handles the return from a multi-value lookup, processing any select line values and invoking the
configured view helper service to create the lines for those values in the model collection.
|
org.springframework.web.servlet.ModelAndView |
refresh(UifFormBase form)
Handles the refresh call by checking the request parameters and delegating out to helper methods.
|
protected void |
setFocusJumpFromQuickfinder(UifFormBase form,
String quickfinderId)
Retrieves the configured focus id and jump id for the quickfinder from the post metadata, and sets
those values onto the form for the view rendering.
|
void |
setModelAndViewService(ModelAndViewService modelAndViewService) |
public RefreshControllerServiceImpl()
public org.springframework.web.servlet.ModelAndView refresh(UifFormBase form)
Several places in the framework do a return from a view to another view. Examples are return from a lookup, breadcrumb navigation, and navigation methods provided by the controller. This is the default method invoked when returning to perform any additional functionality.
refresh
in interface RefreshControllerService
form
- form instance containing the model dataprotected void processMultiValueReturn(UifFormBase form, javax.servlet.http.HttpServletRequest request)
There are two supported strategies for returning the selected lines. One, if the lookup view and the caller are within the same application container, Springs input flash map is used. If however, the lookup view is outside the caller, then just a standard request parameter is used.
form
- form instance containing the model datarequest
- http request object being handledprotected void setFocusJumpFromQuickfinder(UifFormBase form, String quickfinderId)
form
- form instance containing the model dataquickfinderId
- id for the quickfinder component that triggered the lookup we are
returning fromprotected void invokeQuickfinderCallback(UifFormBase form, javax.servlet.http.HttpServletRequest request, String quickfinderId)
form
- form instance containing the model datarequest
- http request object being handledquickfinderId
- id for the quickfinder component that triggered the lookup we are
returning fromprotected ModelAndViewService getModelAndViewService()
public void setModelAndViewService(ModelAndViewService modelAndViewService)
getModelAndViewService()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.