t.w.w.c.LiveController(Controller) : class documentation

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

Known subclasses: twisted.web.woven.page.LivePage

A Controller that encapsulates logic that makes it possible for this page to be "Live". A live page can have it's content updated after the page has been sent to the browser, and can translate client-side javascript events into server-side events.
Method render No summary
Method clientToServerEvent The client sent an asynchronous event to the server. Locate the View object targeted by this event and attempt to call onEvent on it.
Method gatheredControllers Undocumented
Method domChanged Undocumented
Method wchild_WebConduit2_js Undocumented
Method wchild_FlashConduit_swf Undocumented
Method wchild_input_html Undocumented

Inherited from Controller:

Method __init__ Initialize.
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 setUp
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 aggregateValid Undocumented
Method aggregateInvalid Undocumented
Method process 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 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.
def render(self, request): (source)
First, check to see if this request is attempting to hook up the output conduit. If so, do it. Otherwise, unlink the current session's View from the MVC notification infrastructure, then render the page normally.
def clientToServerEvent(self, request, eventName, eventTarget, eventArgs): (source)
The client sent an asynchronous event to the server. Locate the View object targeted by this event and attempt to call onEvent on it.
def gatheredControllers(self, v, d, request): (source)
Undocumented
def domChanged(self, request, widget, node): (source)
Undocumented
def wchild_WebConduit2_js(self, request): (source)
Undocumented
def wchild_FlashConduit_swf(self, request): (source)
Undocumented
def wchild_input_html(self, request): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.