[Zope3-checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/xmlrpc -
defaultView.stx:1.1 view.stx:1.4
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jan 22 18:57:48 EST 2004
Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv7874/xmlrpc
Modified Files:
view.stx
Added Files:
defaultView.stx
Log Message:
Update ZCML directives documentation.
=== Added File Zope3/doc/zcml/namespaces.zope.org/xmlrpc/defaultView.stx ===
defaultView
File zope/app/publisher/xmlrpc/meta.zcml, lines 11 - 15.
The name of the view that should be the default. This name refers to view
should be the view used by default (if no view name is supplied
Attributes
name -- TextLine (required)
The name of the view that should be the default.
This name refers to view that should be the view used by default (if no
name is supplied explicitly).
for -- GlobalObject (optional, default=None)
The interface this view is the default for.
The view is the default view for the supplied interface. If this is not
the view applies to all objects (XXX this ought to change).
=== Zope3/doc/zcml/namespaces.zope.org/xmlrpc/view.stx 1.3 => 1.4 ===
--- Zope3/doc/zcml/namespaces.zope.org/xmlrpc/view.stx:1.3 Mon Dec 15 05:14:19 2003
+++ Zope3/doc/zcml/namespaces.zope.org/xmlrpc/view.stx Thu Jan 22 18:57:17 2004
@@ -1,3 +1,60 @@
-The view directive.
+view
+
+ File zope/app/publisher/xmlrpc/meta.zcml, lines 5 - 9.
+
+ View Directive for XML-RPC methods.
+
+ Attributes
+
+ for -- GlobalObject (optional, default=None)
+
+ The interface this view applies to.
+
+ The view will be for all objects that implement this interface. If this
+ not supplied, the view applies to all objects (XXX this ought to
+
+
+ permission -- Id (optional, default=None)
+
+ Permission
+
+ The permission needed to use the view.
+
+ class -- GlobalObject (optional, default=None)
+
+ Class
+
+ A class that provides attributes used by the view.
+
+ layer -- TextLine (optional, default=None)
+
+ The layer the view is in.
+
+ A skin is composed of layers. It is common to put skin specific views
+ a layer named after the skin. If the 'layer' attribute is not supplied,
+ defaults to 'default'.
+
+ allowed_interface -- Tokens (optional, default=None)
+
+ Interface that is also allowed if user has permission.
+
+ By default, 'permission' only applies to viewing the view and any
+ sub views. By specifying this attribute, you can make the permission
+ apply to everything described in the supplied interface.
+
+ Multiple interfaces can be provided, separated by whitespace.
+
+ allowed_attributes -- Tokens (optional, default=None)
+
+ View attributes that are also allowed if user has permission.
+
+ By default, 'permission' only applies to viewing the view and any
+ sub views. By specifying 'allowed_attributes', you can make the
+ also apply to the extra attributes on the view object.
+
+ name -- TextLine (optional, default=None)
+
+ The name of the view.
+
+ The name shows up in URLs/paths. For example 'foo'.
-see src/zope/publisher/xmlrpc/meta.zcml
More information about the Zope3-Checkins
mailing list