Home | Trees | Index | Help |
|
---|
Package twisted :: Package web :: Package woven :: Module tapestry :: Class TapestryView |
|
View
--+
|
TapestryView
Method Summary | |
---|---|
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. | |
Inherited from View | |
A view must be told what its model is, and may be told what its controller is, but can also look up its controller if none specified. | |
| |
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. | |
| |
| |
| |
| |
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 | |
---|---|
int |
parentCount = 0 |
NoneType |
tapestry = None |
Inherited from View | |
tuple |
__implements__ = (<class twisted.web.resource.IResource ...
|
NoneType |
doneCallback = None |
int |
isLeaf = 1 |
int |
livePage = 0 |
int |
setupStacks = 1 |
str |
template = ''
|
str |
templateDirectory = ''
|
str |
templateFile = ''
|
NoneType |
templateNode = None |
list |
viewLibraries = []
|
int |
wantsAllNotifications = 0 |
Method Details |
---|
lookupTemplate(self, request)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. The first time the template is used it is cached for speed.
|
Class Variable Details |
---|
parentCount
|
tapestry
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:53 2004 | http://epydoc.sf.net |