Package nevow :: Module rend :: Class Page
[show private | hide private]
[frames | no frames]

Type Page

FreeformChildMixin --+    
                     |    
LiveEvilChildMixin --+    
                     |    
      ChildLookupMixin --+
                         |
   ConfigurableFactory --+
                         |
        object --+       |
                 |       |
       DataFactory --+   |
                     |   |
        object --+   |   |
                 |   |   |
     RenderFactory --+   |
                     |   |
              Fragment --+
                         |
                        Page

Known Subclasses:
AddPage, ConfirmChange, ConfirmDelete, Deleted, EditPage, GetDN, GetDN, LdaptorWebUIGadget, LdaptorWebUIGadget2, LoginPage, MassPasswordChangePage, MovePage, ReallyAddPage, ReallyEditPage, ReallyMassPasswordChangePage, SearchPage

A page is the main Nevow resource and renders a document loaded via the document factory (docFactory).
Method Summary
  child_(self, ctx)
When addSlash is True, a page rendered at a url with no trailing slash and a page rendered at a url with a trailing slash will be identical.
  flattenFactory(p, stan, ctx, writer, finisher)
  onPostFailure(self, reason, request, ctx, bindingName, redirectAfterPost)
  onPostSuccess(self, result, request, ctx, bindingName, redirectAfterPost)
  rememberStuff(self, ctx)
  renderHTTP(self, ctx)
  renderString(self)
  webFormPost(self, request, res, configurable, ctx, bindingName, args)
    Inherited from Fragment
  __init__(self, original, docFactory)
  get(self, context)
  remember(self, obj, inter)
Remember the given object for the given interfaces (or all interfaces obj.__implements__) in the top-level context for this page.
  rend(self, context, data)
    Inherited from DataFactory
  child(self, context, n)
    Inherited from RenderFactory
  render_mapping(self, context, data)
  render_sequence(self, context, data)
  render_string(self, context, data)
  render_xml(self, context, data)
  renderer(self, context, name)
Return a renderer with the given name.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from ConfigurableFactory
  configurable_(self, context)
Configurable factory for use when self is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses.
  configurable_original(self, ctx)
Configurable factory for use when self.original is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses.
  locateConfigurable(self, context, name)
formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory instance it retrieves from the context.
    Inherited from ChildLookupMixin
  childFactory(self, ctx, name)
Used by locateChild to return children which are generated dynamically.
  getDynamicChild(self, segment, request)
Deprecated, use childFactory instead.
  locateChild(self, ctx, segments)
Locate a child page of this one.
  putChild(self, name, child)
    Inherited from LiveEvilChildMixin
  child_nevow_liveInput(self, ctx)
  child_nevow_liveOutput(self, ctx)

Class Variable Summary
tuple __implements__ = ((<MetaInterface nevow.inevow.IRenderer...
NoneType addSlash = None                                                                  
NoneType afterRender = None                                                                  
NoneType beforeRender = None                                                                  
bool buffered = False
    Inherited from Fragment
NoneType docFactory = None                                                                  
NoneType original = None                                                                  
    Inherited from ChildLookupMixin
NoneType children = None                                                                  

Method Details

child_(self, ctx)

When addSlash is True, a page rendered at a url with no trailing slash and a page rendered at a url with a trailing slash will be identical. addSlash is useful for the root resource of a site or directory-like resources.

Class Variable Details

__implements__

Type:
tuple
Value:
((<MetaInterface nevow.inevow.IRenderer>,
  <MetaInterface nevow.inevow.IGettable>,
  (<MetaInterface nevow.inevow.IRendererFactory>,),
  (<MetaInterface nevow.inevow.IContainer>,)),
 <MetaInterface nevow.inevow.IResource>,
 <MetaInterface formless.iformless.IConfigurableFactory>)              

addSlash

Type:
NoneType
Value:
None                                                                  

afterRender

Type:
NoneType
Value:
None                                                                  

beforeRender

Type:
NoneType
Value:
None                                                                  

buffered

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Mon Jul 25 16:22:12 2005 http://epydoc.sf.net