Home | Trees | Index | Help |
---|
Package twisted :: Package web :: Package woven :: Module page :: Class Page |
|
Model
--+ |Collection
--+ | | |Constrained
--+ | | |ConfigCollection
--+ | | |Resource
--+ | | |Controller
--+ |View
--+ | Page
Method Summary | |
---|---|
__init__(self,
m,
templateFile,
inputhandlers,
controllers,
*args,
**kwargs)
| |
__cmp__(self,
other)
(inherited from Model )
| |
__getstate__(self)
(inherited from Model )
| |
__setitem__(self,
key,
value)
(inherited from View )
| |
addSubview(self,
name,
subview)
(inherited from Model )
| |
Add a view for the model to keep track of. (inherited from Model )
| |
aggregateInvalid(self,
request,
input,
data)
(inherited from Controller )
| |
aggregateValid(self,
request,
input,
data)
(inherited from Controller )
| |
Remove a static reference for 'name'. (inherited from Resource )
| |
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. (inherited from View )
| |
Deal with a callback from a deferred, dispatching the result and recursing children. (inherited from View )
| |
domChanged(self,
request,
node)
(inherited from Controller )
| |
A method that determines whether an entity may be added to me. (inherited from ConfigCollection )
| |
gatheredControllers(self,
v,
d,
request)
(inherited from Controller )
| |
Allow a view to be used like a widget. (inherited from View )
| |
Look for a factory method to create the object to handle the next segment of the URL. (inherited from Controller )
| |
(internal) Get a child of mine dependant on a particular request. (inherited from Resource )
| |
(internal) Retrieve a static or dynamically generated child resource from me. (inherited from Resource )
| |
getData(self)
(inherited from Model )
| |
Subclass this to generate an entity on demand. (inherited from Resource )
| |
Retrieve an entity from me. (inherited from Collection )
| |
getEntityType(self)
(inherited from ConfigCollection )
| |
getNameType(self)
(inherited from ConfigCollection )
| |
Get a controller object to handle this node. (inherited from View )
| |
Get the model object associated with this node. (inherited from View )
| |
getNodeView(self,
request,
node,
submodel,
model)
(inherited from View )
| |
Get an entity that was added to me using putEntity. (inherited from Resource )
| |
getSubcontroller(self,
request,
node,
model,
controllerName)
(inherited from Controller )
| |
Get the submodel `name' of this model. (inherited from Model )
| |
Get a sub-view from me. (inherited from View )
| |
Override this if you want to have your subclass look up its template using a different method. (inherited from View )
| |
By default, we don't do anything (inherited from Controller )
| |
handleControllerResults(self,
controllerResult,
request,
node,
controller,
view,
success)
(inherited from View )
| |
Handle the root node, and send the page if there are no outstanding callbacks when it returns. (inherited from View )
| |
handleNewNode(self,
request,
returnNode)
(inherited from View )
| |
handleNode(self,
request,
node)
(inherited from View )
| |
handleOutstanding(self,
request)
(inherited from View )
| |
importControllerLibrary(self,
namespace)
(inherited from Controller )
| |
importViewLibrary(self,
namespace)
(inherited from View )
| |
Hook for subclasses to initialize themselves without having to mess with the __init__ chain. (inherited from Model )
| |
A list of all name, entity that I can generate on demand. (inherited from Resource )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Resource )
| |
Retrieve a list of all name, entity pairs that I store references to. (inherited from Resource )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Resource )
| |
Retrieve a list of all name, entity pairs that I store references to. (inherited from Resource )
| |
Retrieve a list of the names of entities that I store references to. (inherited from Resource )
| |
Look up a full submodel name. (inherited from Model )
| |
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 )
| |
makeView(self,
model,
name,
parentCount)
(inherited from Controller )
| |
Dispatch changed messages to any update_* methods which may have been defined, then pass the update notification on to the controller. (inherited from View )
| |
A method that determines whether an entity may be added to me with a given name. (inherited from Constrained )
| |
Notify all views that something was changed on me. (inherited from Model )
| |
Override this to recieve notification when the view rendering process is complete. (inherited from Controller )
| |
process(self,
request,
**kwargs)
(inherited from Controller )
| |
Register a child with me. (inherited from Resource )
| |
Store an entity if it meets both constraints. (inherited from Constrained )
| |
reallyPutEntity(self,
name,
entity)
(inherited from Resource )
| |
If this node has children, handle them. (inherited from View )
| |
Remove an entity for 'name', based on the content of 'request'. (inherited from Collection )
| |
Remove a view that the model no longer should keep track of. (inherited from Model )
| |
Trigger any inputhandlers that were passed in to this Page, then delegate to the View for traversing the DOM. (inherited from Controller )
| |
renderFailure(self,
failure,
request)
(inherited from View )
| |
renderView(self,
request)
| |
Check to see if handlers recorded any errors before sending the page (inherited from View )
| |
setController(self,
controller)
(inherited from View )
| |
setData(self,
data)
(inherited from Model )
| |
setNode(self,
node)
(inherited from View )
| |
setSubcontrollerFactory(self,
name,
factory,
setup)
(inherited from Controller )
| |
Set a submodel on this model. (inherited from Model )
| |
setSubviewFactory(self,
name,
factory,
setup,
*args,
**kwargs)
(inherited from View )
| |
(inherited from Controller )
| |
setupAllStacks(self)
(inherited from View )
| |
setupControllerStack(self)
(inherited from Controller )
| |
setupViewStack(self)
(inherited from View )
| |
setView(self,
view)
(inherited from Controller )
| |
Store an entity for 'name', based on the content of 'request'. (inherited from Collection )
| |
Check if a submodel name is allowed. (inherited from Model )
| |
submodelFactory(self,
name)
(inherited from Model )
| |
unlinkViews(self)
(inherited from View )
| |
_getModelWrapper(self,
currentModel,
element,
parentModel)
(inherited from Model )
|
Class Variable Summary | |
---|---|
tuple |
__implements__
|
Class Variable Details |
---|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:19:32 2003 | http://epydoc.sf.net |