Home | Trees | Index | Help |
|
---|
Package twisted :: Package web :: Package woven :: Module page :: Class LivePage |
|
Resource
--+ |Controller
--+ |LiveController
--+ |View
--+ | | |LiveView
--+ |Model
--+ | | |MethodModel
--+ | LivePage
Method Summary | |
---|---|
__init__(self,
m,
templateFile,
inputhandlers,
templateDirectory,
controllers,
*args,
**kwargs)
| |
Look for a factory method to create the object to handle the next segment of the URL. | |
renderView(self,
request)
| |
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 LiveController | |
The client sent an asynchronous event to the server. | |
| |
| |
First, check to see if this request is attempting to hook up the output conduit. | |
| |
| |
| |
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. | |
| |
| |
| |
| |
| |
| |
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 LiveView | |
| |
| |
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 | |
---|---|
tuple |
__implements__ = (<class twisted.web.woven.interfaces.IM...
|
int |
appRoot = 0 |
Inherited from Model | |
list |
allowed_names = []
|
list |
protected_names = ['initialize', 'addView', 'addSubview'...
|
Inherited from LiveController | |
NoneType |
pageSession = None |
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 LiveView | |
int |
livePage = 1 |
Inherited from View | |
NoneType |
doneCallback = None |
str |
template = ''
|
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 |
---|
appRoot
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:08 2004 | http://epydoc.sf.net |