Part of nevow.athena View Source View In Hierarchy
Known subclasses: nevow.livetrial.runner.TestFramework, nevow.testutil.FragmentWrapper
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 727 | Method | __init__ | Undocumented |
| 756 | Method | locateChild | Locate a child page of this one. ctx is a |
| 765 | Method | child___athena_private__ | Undocumented |
| 810 | Method | renderHTTP | Render a request |
| 839 | Method | addLocalObject | Undocumented |
| 845 | Method | callRemote | Undocumented |
| 854 | Method | addMessage | Undocumented |
| 858 | Method | notifyOnDisconnect | Return a Deferred which will fire or errback when this LivePage is |
| 873 | Method | getJSModuleURL | Undocumented |
| 877 | Method | getImportStan | Undocumented |
| 886 | Method | render_liveglue | Undocumented |
| 900 | Method | child_jsmodule | Undocumented |
| 905 | Method | child_transport | Undocumented |
| 913 | Method | locateMethod | Undocumented |
| 919 | Method | liveTransportMessageReceived | A message was received from the reliable transport layer. Process it by |
| 929 | Method | action_call | Handle a remote call initiated by the client. |
| 961 | Method | action_respond | Handle the response from the client to a call initiated by the server. |
| 972 | Method | action_noop | Handle noop, used to initialise and ping the live transport. |
| 978 | Method | action_close | The client is going away. Clean up after them. |
Inherited from Page:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 571 | Method | rememberStuff | Undocumented |
| 575 | Method | renderString | Render this page outside of the context of a web request, returning |
| 595 | Method | renderSynchronously | Render this page synchronously, returning a string result immediately. |
| 615 | Method | child_ | When addSlash is True, a page rendered at a url with no |
| 627 | Method | webFormPost | Accept a web form post, either redisplaying the original form (with |
| 687 | Method | onPostSuccess | Undocumented |
| 695 | Method | onPostFailure | Undocumented |
Inherited from Fragment (via Page):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 384 | Method | get | Return the data |
| 387 | Method | rend | Turn this instance into stan suitable for displaying it in a web page. |
| 432 | Method | remember | Remember an object for an interface on new PageContexts which are |
Inherited from DataFactory (via Page, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 120 | Method | child | Return a conceptual child; an attribute, or a key, |
Inherited from RenderFactory (via Page, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 60 | Method | renderer | Return a renderer with the given name. |
Inherited from MacroFactory (via Page, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 90 | Method | macro | Return a macro with the given name. |
Inherited from ConfigurableMixin (via Page, Fragment):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 193 | Method | getBindingNames | Expose bind_* methods and attributes on this class. |
| 200 | Method | getBinding | Massage bind_* methods and attributes into an |
| 223 | Method | getDefault | Get a default value for a given binding. If the |
| 235 | Method | postForm | Accept a form post to the given bindingName. |
Inherited from ConfigurableFactory (via Page):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 263 | Method | locateConfigurable | formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory |
| 276 | Method | configurable_ | Configurable factory for use when self is a configurable; |
| 302 | Method | configurable_original | Configurable factory for use when self.original is a configurable; |
Inherited from ChildLookupMixin (via Page):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 497 | Method | childFactory | Used by locateChild to return children which are generated |
| 509 | Method | putChild | Undocumented |
Inherited from FreeformChildMixin (via Page, ChildLookupMixin):
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 168 | Method | child_freeform_hand | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 727 | Method | __init__ | Undocumented |
| 929 | Method | action_call | Handle a remote call initiated by the client. |
| 978 | Method | action_close | The client is going away. Clean up after them. |
| 972 | Method | action_noop | Handle noop, used to initialise and ping the live transport. |
| 961 | Method | action_respond | Handle the response from the client to a call initiated by the server. |
| 839 | Method | addLocalObject | Undocumented |
| 854 | Method | addMessage | Undocumented |
| 845 | Method | callRemote | Undocumented |
| 120 | Method | child | Return a conceptual child; an attribute, or a key, |
| 615 | Method | child_ | When addSlash is True, a page rendered at a url with no |
| 765 | Method | child___athena_private__ | Undocumented |
| 168 | Method | child_freeform_hand | Undocumented |
| 900 | Method | child_jsmodule | Undocumented |
| 905 | Method | child_transport | Undocumented |
| 497 | Method | childFactory | Used by locateChild to return children which are generated |
| 276 | Method | configurable_ | Configurable factory for use when self is a configurable; |
| 302 | Method | configurable_original | Configurable factory for use when self.original is a configurable; |
| 384 | Method | get | Return the data |
| 200 | Method | getBinding | Massage bind_* methods and attributes into an |
| 193 | Method | getBindingNames | Expose bind_* methods and attributes on this class. |
| 223 | Method | getDefault | Get a default value for a given binding. If the |
| 877 | Method | getImportStan | Undocumented |
| 873 | Method | getJSModuleURL | Undocumented |
| 919 | Method | liveTransportMessageReceived | A message was received from the reliable transport layer. Process it by |
| 756 | Method | locateChild | Locate a child page of this one. ctx is a |
| 263 | Method | locateConfigurable | formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory |
| 913 | Method | locateMethod | Undocumented |
| 90 | Method | macro | Return a macro with the given name. |
| 858 | Method | notifyOnDisconnect | Return a Deferred which will fire or errback when this LivePage is |
| 695 | Method | onPostFailure | Undocumented |
| 687 | Method | onPostSuccess | Undocumented |
| 235 | Method | postForm | Accept a form post to the given bindingName. |
| 509 | Method | putChild | Undocumented |
| 432 | Method | remember | Remember an object for an interface on new PageContexts which are |
| 571 | Method | rememberStuff | Undocumented |
| 387 | Method | rend | Turn this instance into stan suitable for displaying it in a web page. |
| 886 | Method | render_liveglue | Undocumented |
| 60 | Method | renderer | Return a renderer with the given name. |
| 810 | Method | renderHTTP | Render a request |
| 575 | Method | renderString | Render this page outside of the context of a web request, returning |
| 595 | Method | renderSynchronously | Render this page synchronously, returning a string result immediately. |
| 627 | Method | webFormPost | Accept a web form post, either redisplaying the original form (with |
Locate a child page of this one. ctx is a nevow.context.PageContext representing the parent Page, and segments is a tuple of each element in the URI. An tuple (page, segments) should be returned, where page is an instance of nevow.rend.Page and segments a tuple representing the remaining segments of the URI. If the child is not found, return NotFound instead.
locateChild is designed to be easily overridden to perform fancy lookup tricks. However, the default locateChild is useful, and looks for children in three places, in this order:Return a Deferred which will fire or errback when this LivePage is no longer connected.
Note that if a LivePage never establishes a connection in the first place, the Deferreds this returns will never fire.| Returns | (type: defer.Deferred
) | |