org.kuali.rice.kns.web.struts.action
Class QuestionPromptAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.kuali.rice.kns.web.struts.action.KualiAction
              extended by org.kuali.rice.kns.web.struts.action.QuestionPromptAction

public class QuestionPromptAction
extends KualiAction

This class handles Actions for QuestionPromp.


Field Summary
 
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, POST_TEXT_AREA_TO_PARENT, TEXT_AREA_FIELD_ANCHOR, TEXT_AREA_FIELD_LABEL, TEXT_AREA_FIELD_NAME, TEXT_AREA_MAX_LENGTH, TEXT_AREA_READ_ONLY
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
QuestionPromptAction()
           
 
Method Summary
protected  void checkAuthorization(org.apache.struts.action.ActionForm form, String methodToCall)
          This overridden method ...
private  String getSelectedButton(javax.servlet.http.HttpServletRequest request)
          Parses the method to call attribute to pick off the button number that was pressed.
 org.apache.struts.action.ActionForward processAnswer(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method handles gathering all input and passing control back to the caller action.
private  void processErrorMessages(javax.servlet.http.HttpServletRequest request)
          This method handles processing any error messages coming in the door.
 org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method is the entry point action for the question prompt component.
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, doProcessingAfterPost, execute, findMethodToCall, getApplicationBaseUrl, getBasePath, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, retrieveLookupParameterValue, showAllTabs, toggleTab, updateTextArea, validateLookupInquiryFullParameter
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, getMethod, getMethodName, getParameter, unspecified
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionPromptAction

public QuestionPromptAction()
Method Detail

checkAuthorization

protected void checkAuthorization(org.apache.struts.action.ActionForm form,
                                  String methodToCall)
                           throws AuthorizationException
This overridden method ...

Overrides:
checkAuthorization in class KualiAction
Throws:
AuthorizationException
See Also:
KualiAction.checkAuthorization(org.apache.struts.action.ActionForm, java.lang.String)

start

public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
This method is the entry point action for the question prompt component.

Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward
Throws:
Exception

processAnswer

public org.apache.struts.action.ActionForward processAnswer(org.apache.struts.action.ActionMapping mapping,
                                                            org.apache.struts.action.ActionForm form,
                                                            javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response)
                                                     throws Exception
This method handles gathering all input and passing control back to the caller action.

Parameters:
mapping -
form -
request -
response -
Returns:
ActionForward
Throws:
Exception

getSelectedButton

private String getSelectedButton(javax.servlet.http.HttpServletRequest request)
Parses the method to call attribute to pick off the button number that was pressed.

Parameters:
request -
Returns:
int

processErrorMessages

private void processErrorMessages(javax.servlet.http.HttpServletRequest request)
This method handles processing any error messages coming in the door.

Parameters:
request -


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.