Home | Trees | Index | Help |
|
---|
Package ldaptor :: Package apps :: Package webui :: Module gadget :: Class LdaptorWebUIGadget |
|
FreeformChildMixin
--+ |ChildLookupMixin
--+ |ConfigurableFactory
--+ |object
--+ | | |ConfigurableMixin
--+ | | |object
--+ | | | | |DataFactory
--+ | | |object
--+ | | | | |MacroFactory
--+ | | |object
--+ | | | | |RenderFactory
--+ | | |Fragment
--+ |Page
--+ | LdaptorWebUIGadget
Method Summary | |
---|---|
__init__(self,
loggedIn,
config)
| |
bind_go(self,
ctx)
| |
Expose bind_* methods and attributes on this class. | |
go(self,
ctx,
baseDN)
| |
Locate a child page of this one. | |
render_form(self,
context,
data)
| |
render_i18n(page,
ctx,
data)
| |
Inherited from Page | |
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. | |
| |
| |
| |
| |
| |
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. | |
| |
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. | |
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. | |
| |
Inherited from FreeformChildMixin | |
|
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy ldaptor.apps.webui.gadg...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
bool |
addSlash = True
|
xmlfile |
docFactory = <nevow.loaders.xmlfile object at 0x40b8232c...
|
PlaceHolder |
title = PlaceHolder(*('Ldaptor Web Interface',), transla...
|
Inherited from Page | |
NoneType |
afterRender = None |
NoneType |
beforeRender = None |
bool |
buffered = False
|
Inherited from Fragment | |
NoneType |
original = None |
Inherited from DataFactory | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Inherited from ChildLookupMixin | |
NoneType |
children = None |
Method Details |
---|
getBindingNames(self, ctx)Expose bind_* methods and attributes on this class.
|
locateChild(self, ctx, segments)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:
|
Class Variable Details |
---|
__implemented__
|
__provides__
|
addSlash
|
docFactory
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Oct 1 10:49:47 2006 | http://epydoc.sf.net |