Package twisted :: Package coil :: Module web :: Class AppConfiguratorPage
[frames | no frames]

Class AppConfiguratorPage

  Widget --+    
           |    
Presentation --+
               |
              AppConfiguratorPage


A web configuration interface for Twisted.

This configures the toplevel application.
Method Summary
  __init__(self, application)
  configWidget(self, request)
Render the config part of the widget.
  displayTree(self, write, request)
  displayTreeElement(self, write, inName, inPath, collection, indentLevel)
  makeConfigMenu(self, interface)
Make a menu for adding a new object to a collection.
  makeConfigurable(self, cfgInfo, container, name)
Create a new configurable to a container, based on input from web form.
  pluginLoader(self)
  prePresent(self, request)
Perform any tasks which must be done before presenting the page.
  reloadDispensers(self)
    Inherited from Presentation
  addClassVars(self, namespace, Class)
  addVariables(self, namespace, request)
  display(self, request)
Implement me to represent your widget.
  formatTraceback(self, tb)
  streamCall(self, call, *args, **kw)
Utility: Call a method like StreamWidget's 'stream'.
    Inherited from Widget
  getTitle(self, request)

Class Variable Summary
int isLeaf = 1                                                                     
str template = '\n    <center>\n    <table width="95%">\n   ...
    Inherited from Presentation
str world = "you didn't assign to the 'template' attribute"
    Inherited from Widget
NoneType title = None                                                                  

Method Details

configWidget(self, request)

Render the config part of the widget.

makeConfigMenu(self, interface)

Make a menu for adding a new object to a collection.

makeConfigurable(self, cfgInfo, container, name)

Create a new configurable to a container, based on input from web form.

prePresent(self, request)

Perform any tasks which must be done before presenting the page.
Overrides:
twisted.web.widgets.Presentation.prePresent (inherited documentation)

Class Variable Details

isLeaf

Type:
int
Value:
1                                                                     

template

Type:
str
Value:
'''
    <center>
    <table width="95%">
    <tr><td width="20%" valign="top">%%%%self.streamCall(self.displayT\
ree, request)%%%%</td>
    <td width="80%" valign="top">%%%%self.configd%%%%</td>
    </tr>
    <tr><td colspan="2">%%%%self.pluginLoader()%%%%</td></tr>
...                                                                    

Generated by Epydoc 2.0 on Sat Sep 13 04:20:50 2003 http://epydoc.sf.net