|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.web.controller.UifControllerBase org.kuali.rice.krad.web.controller.LookupController
@Controller @RequestMapping(value="/lookup") public class LookupController
Controller that handles requests coming from a LookupView
Constructor Summary | |
---|---|
LookupController()
|
Method Summary | |
---|---|
org.springframework.web.servlet.ModelAndView |
cancel(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Just returns as if return with no value was selected |
org.springframework.web.servlet.ModelAndView |
clearValues(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
clearValues - clears the values of all the fields on the jsp. |
protected LookupForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
Called to create a new model(form) object when necessary. |
org.springframework.web.servlet.ModelAndView |
returnSelected(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked from the UI to return the selected lookup results lines, parameters are collected to build a URL to the caller and then a redirect is performed |
org.springframework.web.servlet.ModelAndView |
search(LookupForm lookupForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
search - sets the values of the data entered on the form on the jsp into a map and then searches for the results. |
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invoked to request an lookup view for a data object class |
protected void |
suppressActionsIfNeeded(LookupForm lookupForm)
|
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
addLine, checkViewAuthorization, close, deleteLine, getUIFModelAndView, getUIFModelAndView, getViewService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnToHistory, returnToHub, returnToPrevious, toggleInactiveRecordDisplay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupController()
Method Detail |
---|
protected LookupForm createInitialForm(javax.servlet.http.HttpServletRequest request)
UifControllerBase
createInitialForm
in class UifControllerBase
request
- - the http request that was madeUifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)
protected void suppressActionsIfNeeded(LookupForm lookupForm)
@RequestMapping(params="methodToCall=start") public org.springframework.web.servlet.ModelAndView start(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Checks if the data object is externalizable and we need to redirect to the appropriate lookup URL, else continues with the lookup view display
start
in class UifControllerBase
@RequestMapping(params="methodToCall=cancel") public org.springframework.web.servlet.ModelAndView cancel(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
cancel
in class UifControllerBase
@RequestMapping(params="methodToCall=clearValues") public org.springframework.web.servlet.ModelAndView clearValues(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(params="methodToCall=search") public org.springframework.web.servlet.ModelAndView search(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(params="methodToCall=returnSelected") public org.springframework.web.servlet.ModelAndView returnSelected(@ModelAttribute(value="KualiForm") LookupForm lookupForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
lookupForm
- - lookup form instance containing the selected results and lookup configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |