JavaScript viewlet manager.
request
(Attribute)
The request
The request is a surrogate for the user. It also provides the presentation type and skin. It is of type IPresentationRequest.
context
(Attribute)
The context of the object
This is the object being adapted, viewed, extended, etc.
__parent__
(Attribute)
The view the provider appears in.
The view is the third discriminator of the content provider. It allows that the content can be controlled for different views.
Having it stored as the parent is also very important for the security context to be kept.
* = required
update()
Initialize the content provider.
This method should perform all state calculation and not refer it to the rendering stage.
In this method, all state must be calculated from the current interaction (e.g., the browser request); all contained or managed content providers must have update() be called as well; any additional stateful API for contained or managed content providers must be handled; and persistent objects should be modified, if the provider is going to do it.
Do not store state about persistent objects: the rendering process should actually use the persistent objects for the data, in case other components modify the object between the update and render stages.
This method must be called before any other method that mutates the instance (besides the class constructor). Non-mutating methods and attributes may raise an error if used before update() is called. The view may rely on this order but is not required to explicitly enforce this. Implementations may enforce it as a developer aid.
__contains__(key)
Tell if a key exists in the mapping.
__getitem__(key)
Get a value for a key
A KeyError is raised if there is no value for the key.
render(*args, **kw)
Return the content provided by this content provider.
Calling this method before update() may (but is not required to) raise an UpdateNotCalled error.
get(key, default=None)
Get a value for a key
The default is returned if there is no value for the key.
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.viewlet.SimpleViewletClass from /opt/zope/sr/apidoc/src/zope/app/boston/viewlets/addinginfo/viewlet.pt
(name: addinginfo)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: boston.js)
zope.viewlet.manager.<ViewletManager providing IJavaScript>
(name: zope.app.boston.IJavaScript)
zope.viewlet.manager.<ViewletManager providing IJavaScript>
(name: zope.app.boston.IJavaScript)
zope.viewlet.viewlet.SimpleViewletClass from /opt/zope/sr/apidoc/src/zope/app/boston/viewlets/toolbar/viewlet.pt
(name: toolbar)
zope.viewlet.viewlet.SimpleViewletClass from /opt/zope/sr/apidoc/src/zope/app/boston/viewlets/toolbar/viewlet.pt
(name: toolbar)
zope.viewlet.manager.<ViewletManager providing ICSS>
(name: zope.app.boston.ICSS)
zope.viewlet.manager.<ViewletManager providing ICSS>
(name: zope.app.boston.ICSS)
zope.viewlet.metaconfigure.CSSViewlet
(name: xmltree.css)
zope.viewlet.metaconfigure.CSSViewlet
(name: xmltree.css)
zope.viewlet.viewlet.SimpleViewletClass from /opt/zope/sr/apidoc/src/zope/app/boston/viewlets/xmltree/xmltree.pt
(name: xmltree)
zope.viewlet.viewlet.SimpleViewletClass from /opt/zope/sr/apidoc/src/zope/app/boston/viewlets/xmltree/xmltree.pt
(name: xmltree)
zope.viewlet.metaconfigure.CSSViewlet
(name: skin.css)
zope.viewlet.metaconfigure.CSSViewlet
(name: skin.css)
zope.viewlet.manager.<ViewletManager providing IHead>
(name: zope.app.boston.IHead)
zope.viewlet.manager.<ViewletManager providing IHead>
(name: zope.app.boston.IHead)
zope.viewlet.manager.<ViewletManager providing ILeft>
(name: zope.app.boston.ILeft)
zope.viewlet.manager.<ViewletManager providing ILeft>
(name: zope.app.boston.ILeft)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.metaconfigure.JavaScriptViewlet
(name: xmltree)
zope.viewlet.metaconfigure.CSSViewlet
(name: toolbar-css)
zope.viewlet.metaconfigure.CSSViewlet
(name: toolbar-css)
zope.viewlet.manager.<ViewletManager providing IToolBar>
(name: zope.app.boston.IToolBar)
zope.viewlet.manager.<ViewletManager providing IToolBar>
(name: zope.app.boston.IToolBar)
zope.viewlet.metaconfigure.CSSViewlet
(name: widget.css)
zope.viewlet.metaconfigure.CSSViewlet
(name: widget.css)
zope.viewlet.manager.<ViewletManager providing IJavaScript>
(name: zope.app.boston.IJavaScript)
There are no views available.