org.activemath.webapp.survey
Class SurveyController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.survey.SurveyController
- All Implemented Interfaces:
- Controller
public class SurveyController
- extends ControllerBase
This class serves and logs results of survey questionnaires.
TODO:
- prohibit concurrent access to same logfile
- display data, in different formats (XML, CSV, HTML table)
| Methods inherited from class org.activemath.webapp.base.ControllerBase |
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Logger log
SurveyController
public SurveyController()
setAction
public void setAction(String value)
setSurvey
public void setSurvey(String surveyName)
setSurveyText
public void setSurveyText(String surveyText)
setItemId
public void setItemId(String itemId)
setRequireLogin
public void setRequireLogin(boolean value)
action
protected String action()
throws Exception
- Description copied from class:
ControllerBase
- This is the method you should override to implement application logic.
- Overrides:
action in class ControllerBase
- Throws:
Exception