Home | Trees | Index | Help |
|
---|
Package twisted :: Package web :: Package woven :: Module input :: Class ListAggregator |
|
Collection
--+ |Constrained
--+ |ConfigCollection
--+ |Resource
--+ |Controller
--+ |InputHandler
--+ |SingleValue
--+ |Anything
--+ | ListAggregator
Method Summary | |
---|---|
By default we just pass this method call all the way up to the root Controller. | |
Aggregate valid input from inputhandlers below us into a list until we have all input from controllers below us to pass to the commit function that was passed to the constructor or our parent's aggregateValid. | |
If we're using the ListAggregator, we don't want the list of items to be rerendered xxx Need to have a "node complete" message sent to the controller so we can reset state, so controllers can be re-run or ignore input the second time | |
We are done handling the node to which this controller was attached. | |
Inherited from Anything | |
Check whether the input in the request is valid for this handler and return a boolean indicating validity. | |
Inherited from SingleValue | |
Return the data associated with this handler from the request, if any. | |
Inherited from InputHandler | |
| |
| |
By default, we don't do anything | |
Once it has been determined that the input is invalid, we should tell our view to report this fact to the user. | |
It has been determined that the input for this handler is valid; however, that does not mean the entire form is valid. | |
| |
| |
Inherited from Controller | |
| |
| |
Look for a factory method to create the object to handle the next segment of the URL. | |
This method is called when getChild cannot find a matching wchild_* method in the Controller. | |
| |
| |
| |
Override this to recieve notification when the view rendering process is complete. | |
| |
Trigger any inputhandlers that were passed in to this Page, then delegate to the View for traversing the DOM. | |
| |
| |
| |
| |
| |
| |
By default, we return ourself as the index. | |
Inherited from Resource | |
Remove a static reference for 'name'. | |
(internal) Get a child of mine dependant on a particular request. | |
Retrieve a static or dynamically generated child resource from me. | |
Subclass this to generate an entity on demand. | |
Get an entity that was added to me using putEntity. | |
A list of all name, entity that I can generate on demand. | |
Retrieve a list of the names of entities that I store references to. | |
| |
| |
Retrieve a list of all name, entity pairs that I store references to. | |
Retrieve a list of the names of entities that I store references to. | |
Register a static child. | |
| |
Inherited from ConfigCollection | |
A method that determines whether an entity may be added to me. | |
| |
| |
Inherited from Constrained | |
A method that determines whether an entity may be added to me with a given name. | |
Store an entity if it meets both constraints. | |
Inherited from Collection | |
Retrieve an entity from me. | |
Remove an entity for 'name', based on the content of 'request'. | |
Store an entity for 'name', based on the content of 'request'. |
Class Variable Summary | |
---|---|
Inherited from InputHandler | |
str |
invalidErrorText = 'Error!'
|
int |
setupStacks = 0 |
Inherited from Controller | |
tuple |
__implements__ = (<class twisted.web.woven.interfaces.IC...
|
int |
addSlash = 1 |
list |
controllerLibraries = []
|
str |
templateDirectory = ''
|
NoneType |
viewFactory = None |
Inherited from Resource | |
int |
isLeaf = 0 |
NoneType |
server = None |
Method Details |
---|
aggregateInvalid(self, request, inputhandler, data)By default we just pass this method call all the way up to the root Controller.
|
aggregateValid(self, request, inputhandler, data)Aggregate valid input from inputhandlers below us into a list until we have all input from controllers below us to pass to the commit function that was passed to the constructor or our parent's aggregateValid. |
commit(self, request, node, data)If we're using the ListAggregator, we don't want the list of items to be rerendered xxx Need to have a "node complete" message sent to the controller so we can reset state, so controllers can be re-run or ignore input the second time
|
exit(self, request)We are done handling the node to which this controller was attached.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Sep 13 04:20:51 2003 | http://epydoc.sf.net |