Home | Trees | Index | Help |
|
---|
Package twisted :: Package web :: Module distrib :: Class UserDirectory |
|
Resource
--+ |Controller
--+ |Model
--+ | | |MethodModel
--+ |View
--+ |Page
--+ | UserDirectory
Method Summary | |
---|---|
Look for a factory method to create the object to handle the next segment of the URL. | |
wmfactory_base(self,
request)
| |
wmfactory_directory(self,
request)
| |
Inherited from Page | |
| |
| |
Inherited from MethodModel | |
Get the submodel `name' of this model. | |
Allow any submodel for which I have a submodel. | |
Call a wmfactory_name method on this model. | |
Inherited from Model | |
| |
| |
Add a view for the model to keep track of. | |
| |
| |
Hook for subclasses to initialize themselves without having to mess with the __init__ chain. | |
Invalidate the cache for this object, so the next time getData is called, it's getter method is called again. | |
Look up a full submodel name. | |
Notify all views that something was changed on me. | |
Remove a view that the model no longer should keep track of. | |
| |
| |
| |
Set a submodel on this model. | |
Inherited from Controller | |
| |
| |
| |
We are done handling the node to which this controller was attached. | |
| |
This method is called when getChild cannot find a matching wchild_* method in the Controller. | |
| |
By default, we don't do anything | |
| |
| |
Override this to recieve notification when the view rendering process is complete. | |
| |
Trigger any inputhandlers that were passed in to this Page, then delegate to the View for traversing the DOM. | |
| |
| |
| |
| |
| |
By default, we return ourself as the index. | |
Inherited from Resource | |
| |
| |
Retrieve a static or dynamically generated child resource from me. | |
| |
| |
| |
| |
| |
| |
| |
| |
Register a static child. | |
| |
Default handling of HEAD method. | |
Inherited from View | |
| |
Check a given result from handling a node and look up a NodeMutator adapter which will convert the result into a node and insert it into the DOM tree. | |
Deal with a callback from a deferred, checking to see if it is ok to send the page yet or not. | |
Allow a view to be used like a widget. | |
Get a controller object to handle this node. | |
Get the model object associated with this node. | |
| |
Get a sub-view from me. | |
Override this if you want to have your subclass look up its template using a different method. | |
Handle a deferred from a controller. | |
Handle the root node, and send the page if there are no outstanding callbacks when it returns. | |
| |
| |
| |
| |
Use acquisition to look up the template named by self.templateFile, located anywhere above this object in the heirarchy, and use it as the template. | |
Rerender this view, because our model has changed. | |
If this node has children, handle them. | |
| |
Check to see if handlers recorded any errors before sending the page | |
| |
| |
| |
| |
|
Class Variable Summary | |
---|---|
str |
template = '\n<html>\n <head>\n <title>twisted.web...
|
str |
userDirName = 'public_html'
|
str |
userSocketName = '.twistd-web-pb'
|
Inherited from Page | |
tuple |
__implements__ = (<class twisted.web.woven.interfaces.IM...
|
int |
appRoot : Set this to True if you want me to call request.rememberRootURL() in
my getChild, so you can later use request.getRootURL() to get the URL to
this "application"'s root resource. |
Inherited from Model | |
list |
allowed_names = []
|
list |
protected_names = ['initialize', 'addView', 'addSubview'...
|
Inherited from Controller | |
int |
addSlash = 1 |
list |
controllerLibraries = []
|
int |
setupStacks = 1 |
str |
templateDirectory = ''
|
NoneType |
viewFactory = None |
Inherited from Resource | |
int |
isLeaf = 0 |
NoneType |
server = None |
Inherited from View | |
NoneType |
doneCallback = None |
int |
livePage = 0 |
str |
templateFile = ''
|
NoneType |
templateNode = None |
list |
viewLibraries = []
|
int |
wantsAllNotifications = 0 |
Method Details |
---|
getChild(self, name, request)Look for a factory method to create the object to handle the next segment of the URL. If a wchild_* method is found, it will be called to produce the Resource object to handle the next segment of the path. If a wchild_* method is not found, getDynamicChild will be called with the name and request.
|
Class Variable Details |
---|
template
|
userDirName
|
userSocketName
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:04 2004 | http://epydoc.sf.net |