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

Class ReactionDrillWeb



            BaseWeb.BaseWeb --+    
                              |    
BaseReactionWeb.BaseReactionWeb --+
                                  |
                                 ReactionDrillWeb

Instance Methods [hide private]
 
__init__(self)
Constructor.
 
action_default(self)
Default action, generate a collection of reactions and render them to HTML, but for each one, hide one component to enable the "test"
 
__generateReactionList(self)
Return a list of reaction steps to be displayed on the page as drills.
 
__hideHtml(self, htmlList, iReaction)
Given a list of HTML components, add DIV tags around them to gide the section, under a specific ID value so the section can be made visible with JavaScript.
 
__magnifyIcon(self, smiles)

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

Static Methods [hide private]

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

Class Variables [hide private]
  numDepictions = 0

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)

__generateReactionList(self)

 
Return a list of reaction steps to be displayed on the page as drills. The reaction steps to be generated or loaded will be based on request parameters.