BBB: DEPRECATED
Creating skins via ZCML has been deprecated. The browser:skin
directive will be removed in Zope 3.5. Skins are now interfaces
extending zope.publisher.interfaces.browser.IBrowserRequest
.
They are registered using the interface
directive.
Previous documentation
Defines a browser skin
If you do not specify an `interface`, then one will be automatically created for you based on the name using the layers as base interfaces.
In case you specify an `interface` and a `name`, the skin will be available via its dotted name of the interface and the name you specified.
You cannot specify both, the `interface` and the `layers` attribute.
interface
-
GlobalInterface
(default =
None
)
layers
-
Tokens
(default =
None
)
This should be in order of lookup. Usually one of the layers
has the same name as the skin, and the last layer should be
default
, unless you want to completely override all views.
name
-
TextLine
(default =
None
)
The name of the skin
* = required