t.w.w.t.DOMController(controller.Controller, Resource) : class documentation

Part of twisted.web.woven.template View Source View In Hierarchy

A simple controller that automatically passes responsibility on to the view class registered for the model. You can override render to perform more advanced template lookup logic.
Method __init__ Initialize.
Method setUp
Method render No summary
Method process Undocumented

Inherited from Controller:

Method setupControllerStack Undocumented
Method importControllerLibrary No summary
Method getSubcontroller Look for a controller named "controllerName" to handle the node "node". When a node <div controller="foo" /> is present in the template, this method will be called with controllerName set to "foo".
Method setSubcontrollerFactory Set the callable "factory", which takes a model and should return an InputHandler, to be called by the default implementation of getSubview when the controllerName "name" is present in the template.
Method setView Set the view that this controller is related to.
Method setNode Undocumented
Method getChild No summary
Method getDynamicChild No summary
Method wchild_index By default, we return ourself as the index. Override this to provide different behavior for a URL that ends in a slash.
Method makeView Undocumented
Method renderView Undocumented
Method gatheredControllers Undocumented
Method aggregateValid Undocumented
Method aggregateInvalid Undocumented
Method setSubmodel Undocumented
Method handle By default, we don't do anything
Method exit We are done handling the node to which this controller was attached.
Method domChanged Undocumented
Method pageRenderComplete Override this to recieve notification when the view rendering process is complete.

Inherited from Resource (via Controller):

Method listStaticNames Undocumented
Method listStaticEntities Undocumented
Method listNames Undocumented
Method listEntities Undocumented
Method listDynamicNames Undocumented
Method listDynamicEntities Undocumented
Method getStaticEntity Undocumented
Method getDynamicEntity Undocumented
Method delEntity Undocumented
Method reallyPutEntity Undocumented
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getChildForRequest Undocumented
Method putChild Register a static child.
Method render_HEAD Default handling of HEAD method.

Inherited from Resource:

Method listStaticNames Undocumented
Method listStaticEntities Undocumented
Method listNames Undocumented
Method listEntities Undocumented
Method listDynamicNames Undocumented
Method listDynamicEntities Undocumented
Method getStaticEntity Undocumented
Method getDynamicEntity Undocumented
Method delEntity Undocumented
Method reallyPutEntity Undocumented
Method getChild Retrieve a 'child' resource from me.
Method getChildWithDefault Retrieve a static or dynamically generated child resource from me.
Method getChildForRequest Undocumented
Method putChild Register a static child.
Method render_HEAD Default handling of HEAD method.
def __init__(self, *args, **kwargs): (source)
Initialize.
def setUp(self, request): (source)
Parametersrequest (type: twisted.web.server.Request )
def render(self, request): (source)
Trigger any inputhandlers that were passed in to this Page, then delegate to the View for traversing the DOM. Finally, call gatheredControllers to deal with any InputHandlers that were constructed from any controller= tags in the DOM. gatheredControllers will render the page to the browser when it is done.
def process(self, request, **kwargs): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.