Package CHEM :: Package Web :: Package cgibin :: Package reaction :: Module SurveyWeb :: Class SurveyWeb
[hide private]
[frames] | no frames]

Class SurveyWeb



            BaseWeb.BaseWeb --+    
                              |    
BaseReactionWeb.BaseReactionWeb --+
                                  |
                                 SurveyWeb

Instance Methods [hide private]
 
__init__(self)
Constructor.
 
response(self)
Override default behavior.
 
action_default(self)
Identify the user and pull up their usage records.
 
action_submitSurvey(self)
User actually submitted survey responses.

Inherited from BaseWeb.BaseWeb: action_uploadFiles, addHandler, clearHandlers, errorResponse, getTemplateFilename, handleRequest, maintainParams, optionTagsFromField, optionTagsFromList, printTemplate, replaceWhitespace, setTemplateFilename

Static Methods [hide private]

Inherited from BaseWeb.BaseWeb: javascriptString, quoteFilepath, quoteSmiles, unquoteSmiles

Class Variables [hide private]

Inherited from BaseWeb.BaseWeb: FILE_FIELD_SUFFIX, OPTIONS_FIELD_SUFFIX, OPTION_TAG, SELECT_FIELD_SUFFIX, TEMPLATE_SUFFIX, UPLOAD_FILE_CMD, disableResponse, mForm, mHandlers, mTemplateDict, mTemplateFilename, req, requestData

Method Details [hide private]

__init__(self)
(Constructor)

 
Constructor. Just some initializations such as addition of default mTemplateDict values. Be sure the subclasses call this method in their own __init__!
Overrides: BaseReactionWeb.BaseReactionWeb.__init__
(inherited documentation)

response(self)

 
Override default behavior. Make sure have proper UCINetID web authentication (based on HTTP Cookie contents). If not, then redirect to the appropriate login page.
Overrides: BaseWeb.BaseWeb.response

action_default(self)

 
Identify the user and pull up their usage records. Populate extra credit checklist and survey question options.

action_submitSurvey(self)

 
User actually submitted survey responses. Record them to the database and update the page data accordingly.