[top] / zope / app / publisher / browser / metadirectives / IViewDirective
The view directive defines a view that has subpages.
The pages provided by the defined view are accessed by first traversing to the view name and then traversing to the page name.
permission
*
-
Permission
(default =
None
)
The permission needed to use the view.
allowed_attributes
-
Tokens
(default =
None
)
By default, 'permission' only applies to viewing the view and any possible sub views. By specifying 'allowed_attributes', you can make the permission also apply to the extra attributes on the view object.
allowed_interface
-
Tokens
(default =
None
)
By default, 'permission' only applies to viewing the view and any possible sub views. By specifying this attribute, you can make the permission also apply to everything described in the supplied interface.
Multiple interfaces can be provided, separated by whitespace.
class_
-
GlobalObject
(default =
None
)
A class that provides attributes used by the view.
for_
-
GlobalInterface
(default =
None
)
layer
-
LayerField
(default =
None
)
A skin is composed of layers. It is common to put skin specific views in a layer named after the skin. If the 'layer' attribute is not supplied, it defaults to 'default'.
menu
-
MenuField
(default =
None
)
Many views are included in menus. It's convenient to name
the menu in the page directive, rather than having to give a
separate menuItem directive. zmi_views
is the menu most often
used in the Zope management interface.
name
-
TextLine
(default =
u''
)
The name shows up in URLs/paths. For example foo
.
provides
-
GlobalInterface
(default =
<InterfaceClass zope.interface.Interface>
)
A view can provide an interface. This would be used for views that support other views.
title
-
MessageID
(default =
None
)
This attribute must be supplied if a menu attribute is supplied.
* = required
There are no methods specified.
There are no specific adapters registered for this interface.
There are no extended adapters registered for this interface.
zope.app.pagetemplate.talesapi.ZopeTalesAPI
(name: zope)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.app.pagetemplate.urlquote.URLQuote
(name: url)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.formlib.namedtemplate.NamedTemplatePathAdapter
(name: template)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.app.component.back35.RegistrationManagerNamespace
(name: registrations)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.etc
(name: etc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.traversing.namespace.item
(name: item)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.app.preference.default.DefaultPreferences
(name: preferences)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.
There are no views available.