Package ldaptor :: Package apps :: Package webui :: Module template :: Class BasicPage
[show private | hide private]
[frames | no frames]

Class BasicPage

  Widget --+        
           |        
Presentation --+    
               |    
    Resource --+    
               |    
            Page --+
                   |
                  BasicPage

Known Subclasses:
EditPage, MassPasswordChangePage, MovePage, ReallyAddPage

Method Summary
  getContent(self, request)
    Inherited from Page
  __init__(self)
Initialize.
  render(self, request)
Render a given resource.
    Inherited from Resource
  delEntity(self, name)
  getChild(self, path, request)
Retrieve a 'child' resource from me.
  getChildForRequest(self, request)
  getChildWithDefault(self, path, request)
Retrieve a static or dynamically generated child resource from me.
  getDynamicEntity(self, name, request)
  getStaticEntity(self, name)
  listDynamicEntities(self, request)
  listDynamicNames(self)
  listEntities(self)
  listNames(self)
  listStaticEntities(self)
  listStaticNames(self)
  putChild(self, path, child)
Register a static child.
  reallyPutEntity(self, name, entity)
  render_HEAD(self, request)
Default handling of HEAD method.
    Inherited from Presentation
  addClassVars(self, namespace, Class)
  addVariables(self, namespace, request)
  display(self, request)
Implement me to represent your widget.
  formatTraceback(self, tb)
  prePresent(self, request)
Perform any tasks which must be done before presenting the page.
  streamCall(self, call, *args, **kw)
Utility: Call a method like StreamWidget's 'stream'.
    Inherited from Widget
  getTitle(self, request)

Class Variable Summary
str content = 'No Content'
str template = '<?xml version="1.0" encoding="UTF-8"?>\n<!DO...
str title = 'No Title'
    Inherited from Resource
tuple __implements__ = (<class 'twisted.web.resource.IResource...
int isLeaf = 0                                                                     
NoneType server = None                                                                  
    Inherited from Presentation
str world = "you didn't assign to the 'template' attribute"

Class Variable Details

content

Type:
str
Value:
'No Content'                                                           

template

Type:
str
Value:
'''<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>%%%%title%%%%</title>
</head>
...                                                                    

title

Type:
str
Value:
'No Title'                                                             

Generated by Epydoc 2.0 on Fri Mar 12 17:21:11 2004 http://epydoc.sf.net