Home | Trees | Index | Help |
|
---|
Package nevow :: Module rend :: Class Page |
|
FreeformChildMixin
--+ |ChildLookupMixin
--+ |ConfigurableFactory
--+ |object
--+ | | |ConfigurableMixin
--+ | | |object
--+ | | | | |DataFactory
--+ | | |object
--+ | | | | |MacroFactory
--+ | | |object
--+ | | | | |RenderFactory
--+ | | |Fragment
--+ | Page
AddPage
,
ConfirmChange
,
ConfirmDelete
,
Deleted
,
EditPage
,
GetDN
,
GetDN
,
LdaptorWebUIGadget
,
LdaptorWebUIGadget2
,
LoginPage
,
MassPasswordChangePage
,
MovePage
,
ReallyAddPage
,
ReallyEditPage
,
ReallyMassPasswordChangePage
,
SearchPage
Method Summary | |
---|---|
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(self,
*args)
| |
onPostFailure(self,
reason,
request,
ctx,
bindingName,
redirectAfterPost)
| |
onPostSuccess(self,
result,
request,
ctx,
bindingName,
redirectAfterPost)
| |
rememberStuff(self,
ctx)
| |
renderHTTP(self,
ctx)
| |
Render this page outside of the context of a web request, returning a Deferred which will result in a string. | |
Render this page synchronously, returning a string result immediately. | |
Accept a web form post, either redisplaying the original form (with errors) if validation fails, or redirecting to the appropriate location after the post succeeds. | |
_renderHTTP(self,
ctx)
| |
Inherited from Fragment | |
| |
| |
Remember an object for an interface on new PageContexts which are constructed around this Page. | |
| |
Inherited from DataFactory | |
| |
Inherited from RenderFactory | |
| |
| |
| |
| |
| |
Return a renderer with the given name. | |
Inherited from MacroFactory | |
Return a macro with the given name. | |
Inherited from ConfigurableMixin | |
Massage bind_* methods and attributes into an IBinding. | |
Expose bind_* methods and attributes on this class. | |
Get a default value for a given binding. | |
Accept a form post to the given bindingName. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from ConfigurableFactory | |
Configurable factory for use when self is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses. | |
Configurable factory for use when self.original is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses. | |
formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory instance it retrieves from the context. | |
Inherited from ChildLookupMixin | |
Used by locateChild to return children which are generated dynamically. | |
Locate a child page of this one. | |
| |
Inherited from FreeformChildMixin | |
|
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy nevow.rend.Page>
|
_implementsTuple |
__implements__ = (<MetaInterface nevow.inevow.IResource>...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
NoneType |
addSlash = None |
NoneType |
afterRender = None |
NoneType |
beforeRender = None |
bool |
buffered = False
|
Inherited from Fragment | |
NoneType |
docFactory = None |
NoneType |
original = None |
Inherited from DataFactory | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
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. |
renderString(self, ctx=None)Render this page outside of the context of a web request, returning a Deferred which will result in a string. If twisted is not installed, this method will return a string result immediately, and this method is equivalent to renderSynchronously. |
renderSynchronously(self, ctx=None)Render this page synchronously, returning a string result immediately. Raise an exception if a Deferred is required to complete the rendering process. |
webFormPost(self, request, res, configurable, ctx, bindingName, args)Accept a web form post, either redisplaying the original form (with errors) if validation fails, or redirecting to the appropriate location after the post succeeds. This hook exists specifically for formless. New in 0.5, _nevow_carryover_ is only used if an autocallable method returns a result that needs to be carried over. New in 0.5, autocallables may return a nevow.url.URL or URLOverlay instance rather than setting IRedirectAfterPost on the request. New in 0.5, autocallables may return a Page instance to have that Page instance rendered at the post target URL with no redirects at all. Useful for multi-step wizards. |
Class Variable Details |
---|
__implemented__
|
__provides__
|
addSlash
|
afterRender
|
beforeRender
|
buffered
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Wed May 3 13:51:14 2006 | http://epydoc.sf.net |