Part of twisted.web.woven.page View Source View In Hierarchy
Known subclasses: twisted.web.distrib.UserDirectory, twisted.web.woven.dirlist.DirectoryLister
Class Variables | appRoot | Set this to True if you want me to call request.rememberRootURL() in my getChild, so you can later use request.getRootURL() to get the URL to this "application"'s root resource. (You don't have to worry if there will be multiple instances of this Page involved in a single request; I'll only call it for the upper-most instance). |
Method | __init__ | Initialize. |
Method | getChild | Look for a factory method to create the object to handle the |
Method | renderView | Undocumented |
Inherited from MethodModel:
Method | submodelCheck | Allow any submodel for which I have a submodel. |
Method | submodelFactory | Call a wmfactory_name method on this model. |
Method | getSubmodel | Get the submodel `name' of this model. If I ever return a |
Inherited from Model (via MethodModel):
Method | __getstate__ | Undocumented |
Method | invalidateCache | Invalidate the cache for this object, so the next time |
Method | initialize | Hook for subclasses to initialize themselves without having to |
Method | addView | Add a view for the model to keep track of. |
Method | addSubview | Undocumented |
Method | removeView | Remove a view that the model no longer should keep track of. |
Method | setGetter | Undocumented |
Method | setSetter | Undocumented |
Method | notify | Notify all views that something was changed on me. |
Method | lookupSubmodel | Look up a full submodel name. I will split on `/' and call |
Method | setSubmodel | Set a submodel on this model. If getSubmodel or lookupSubmodel |
Method | dataWillChange | Undocumented |
Method | getData | Return the raw data contained by this Model object, if it is a |
Method | setData | Set the raw data referenced by this Model object, if it is a |
Inherited from Controller:
Method | setupControllerStack | Undocumented |
Method | importControllerLibrary | Import the given object or module into this Controllers's |
Method | getSubcontroller | Look for a controller named "controllerName" to handle the node |
Method | setSubcontrollerFactory | Set the callable "factory", which takes a model and should |
Method | setView | Set the view that this controller is related to. |
Method | setNode | Undocumented |
Method | setUp | |
Method | getDynamicChild | This method is called when getChild cannot find a matching wchild_* |
Method | wchild_index | By default, we return ourself as the index. |
Method | render | Trigger any inputhandlers that were passed in to this Page, |
Method | makeView | Undocumented |
Method | gatheredControllers | 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 | domChanged | Undocumented |
Method | pageRenderComplete | Override this to recieve notification when the view rendering |
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 View:
Method | getChildWithDefault | Return a child with the given name for the given request. |
Method | setupAllStacks | Undocumented |
Method | setUp | Undocumented |
Method | setupViewStack | Undocumented |
Method | importViewLibrary | Import the given object or module into this View's view namespace |
Method | render | Render a request. This is called on the leaf resource for |
Method | getTemplate | Override this if you want to have your subclass look up its template |
Method | lookupTemplate | Use acquisition to look up the template named by self.templateFile, |
Method | handleDocument | Handle the root node, and send the page if there are no |
Method | handleOutstanding | Undocumented |
Method | recurseChildren | If this node has children, handle them. |
Method | dispatchResult | Check a given result from handling a node and look up a NodeMutator |
Method | modelChanged | Rerender this view, because our model has changed. |
Method | generate | Allow a view to be used like a widget. Will look up the template |
Method | setController | Set the controller that this view is related to. |
Method | setNode | Undocumented |
Method | setSubmodel | Undocumented |
Method | getNodeModel | Get the model object associated with this node. If this node has a |
Method | getNodeController | Get a controller object to handle this node. If the node has no |
Method | getSubview | Get a sub-view from me. |
Method | getNodeView | Undocumented |
Method | handleNode | Undocumented |
Method | handleControllerResults | Handle a deferred from a controller. |
Method | handleNewNode | Undocumented |
Method | sendPage | Check to see if handlers recorded any errors before sending the page |
Method | setSubviewFactory | Set the callable "factory", which takes a model and should |
Method | __setitem__ | Undocumented |
Method | unlinkViews | Undocumented |
Method | dispatchResultCallback | Deal with a callback from a deferred, checking to see if it is |
Method | renderFailure | Undocumented |
Parameters | name | The name of the child being requested. (type: string ) |
request | The HTTP request being handled.
(type: twisted.web.server.Request
) |