Home | Trees | Index | Help |
|
---|
Package ldaptor :: Package apps :: Package webui :: Module search :: Class SearchPage |
|
FreeformChildMixin
--+ |LiveEvilChildMixin
--+ |ChildLookupMixin
--+ |ConfigurableFactory
--+ |object
--+ | | |DataFactory
--+ | | |object
--+ | | | | |RenderFactory
--+ | | |Fragment
--+ |Page
--+ | SearchPage
Method Summary | |
---|---|
__init__(self)
| |
Configurable factory for use when self is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses. | |
data_css(self,
context,
data)
| |
data_header(self,
context,
data)
| |
data_move(self,
context,
data)
| |
data_navilink(self,
context,
data)
| |
data_search(self,
context,
data)
| |
data_status(self,
context,
data)
| |
formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory instance it retrieves from the context. | |
render_css_item(self,
context,
data)
| |
render_data(self,
ctx,
data)
| |
render_entryLinks(self,
context,
data)
| |
render_form(self,
context,
data)
| |
render_if(self,
context,
data)
| |
render_keyvalue(self,
context,
data)
| |
render_keyvalue_item(self,
context,
data)
| |
render_link(self,
context,
(url,
desc))
| |
render_linkedDN(self,
ctx,
data)
| |
render_listLen(self,
context,
data)
| |
render_mass_change_password(self,
context,
data)
| |
render_move(self,
context,
data)
| |
render_passthrough(self,
context,
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. | |
| |
| |
| |
| |
| |
| |
| |
Inherited from Fragment | |
| |
Remember the given object for the given interfaces (or all interfaces obj.__implements__) in the top-level context for this page. | |
| |
Inherited from DataFactory | |
| |
Inherited from RenderFactory | |
| |
| |
| |
| |
Return a renderer with the given name. | |
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.original is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses. | |
Inherited from ChildLookupMixin | |
Used by locateChild to return children which are generated dynamically. | |
Deprecated, use childFactory instead. | |
Locate a child page of this one. | |
| |
Inherited from LiveEvilChildMixin | |
| |
|
Class Variable Summary | |
---|---|
bool |
addSlash = True
|
xmlfile |
docFactory = <nevow.loaders.xmlfile instance at 0xb76505...
|
Inherited from Page | |
tuple |
__implements__ = ((<MetaInterface nevow.inevow.IRenderer...
|
NoneType |
afterRender = None |
NoneType |
beforeRender = None |
bool |
buffered = False
|
Inherited from Fragment | |
NoneType |
original = None |
Inherited from ChildLookupMixin | |
NoneType |
children = None |
Method Details |
---|
configurable_(self, context)Configurable factory for use when self is a configurable; aka it implements IConfigurable or one or more TypedInterface subclasses. Usage: class IFoo(TypedInterface): def bar(self): pass bar = autocallable(bar) class Foo(Page): __implements__ = IFoo, def bar(self): print "bar called through the web!" def render_forms(self, ctx, data): return renderForms() # or renderForms('') docFactory = stan(render_forms).
|
locateConfigurable(self, context, name)formless.webform.renderForms calls locateConfigurable on the IConfigurableFactory instance it retrieves from the context. It passes the "name" that was passed to it, so if renderForms() was placed in the DOM, locateConfigurable will be called with name = ''; if renderForms('foo') was placed in the DOM, locateConfigurable will be called with name = 'foo'. This default implementation of locateConfigurable looks for a configurable_* method corresponding to the name which was passed.
|
Class Variable Details |
---|
addSlash
|
docFactory
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jul 25 16:22:12 2005 | http://epydoc.sf.net |