|
||||||||||
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 edu.sampleu.demo.kitchensink.DialogTestViewUifController
@Controller @RequestMapping(value="/dialog-configuration-test") public class DialogTestViewUifController
a controller for the configuration test view
Constructor Summary | |
---|---|
DialogTestViewUifController()
|
Method Summary | |
---|---|
protected UifFormBase |
createInitialForm(javax.servlet.http.HttpServletRequest request)
Called to create a new model(form) object when necessary. |
org.springframework.web.servlet.ModelAndView |
doExtendedDialog(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox. |
org.springframework.web.servlet.ModelAndView |
doOKCancelExample(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox. |
org.springframework.web.servlet.ModelAndView |
doRegularGroupAsDialog(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox. |
org.springframework.web.servlet.ModelAndView |
doResponseInLightBox(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that displays the response in a ightbox. |
org.springframework.web.servlet.ModelAndView |
doSomething(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that invokes a dialog lightbox. |
org.springframework.web.servlet.ModelAndView |
goBack(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
not used at this time |
org.springframework.web.servlet.ModelAndView |
save(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Exercises the Dialog framework. |
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Displays page for testing dialogs |
org.springframework.web.servlet.ModelAndView |
testExpressionDialog(UifDialogTestForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test method for a controller that invokes a dialog to test expression evaluation. |
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
addBlankLine, addLine, cancel, checkForm, checkViewAuthorization, close, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogTestViewUifController()
Method Detail |
---|
protected UifFormBase createInitialForm(javax.servlet.http.HttpServletRequest request)
UifControllerBase
createInitialForm
in class UifControllerBase
request
- - the http request that was made@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)
start
in class UifControllerBase
@RequestMapping(params="methodToCall=save") public org.springframework.web.servlet.ModelAndView save(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Asks a series of questions of the user while processing a client request. Demonstrates the ability to go back
to the client bring up a Lightbox modal dialog.
Displays a few dialogs back to the user. First a yes/no dialog asking the user to pick an author.
Depending on which author was chosen, the user is asked to select a book.
The user is then given a chance to start the selection process over or continue on.
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=goBack") public org.springframework.web.servlet.ModelAndView goBack(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
@RequestMapping(params="methodToCall=doRadioDialogExample") public org.springframework.web.servlet.ModelAndView doSomething(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=doOkCancelExample") public org.springframework.web.servlet.ModelAndView doOKCancelExample(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=doRegularGroupAsDialog") public org.springframework.web.servlet.ModelAndView doRegularGroupAsDialog(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=testExpressionDialog") public org.springframework.web.servlet.ModelAndView testExpressionDialog(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=doExtendedDialog") public org.springframework.web.servlet.ModelAndView doExtendedDialog(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
@RequestMapping(params="methodToCall=doResponseInLightBox") public org.springframework.web.servlet.ModelAndView doResponseInLightBox(@ModelAttribute(value="KualiForm") UifDialogTestForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- - test formresult
- - Spring form binding resultrequest
- - http requestresponse
- - http response
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |