Commit 4ec40b8c authored by Martijn Faassen's avatar Martijn Faassen

Update from Five 1.0.

parent 15733eb1
...@@ -53,6 +53,11 @@ utility ...@@ -53,6 +53,11 @@ utility
Declare a global utility. Declare a global utility.
interface
---------
Register an interface in ZCML.
browser ``http://namespaces.zope.org/browser`` browser ``http://namespaces.zope.org/browser``
============================================== ==============================================
...@@ -79,9 +84,15 @@ defaultSkin ...@@ -79,9 +84,15 @@ defaultSkin
Declare the default skin used. Declare the default skin used.
interface editform
--------- --------
Define an interface in ZCML.
Create an edit form based on a schema.
addform
--------
Create an add form based on a schema.
layer layer
----- -----
...@@ -131,19 +142,22 @@ Make a Zope 2 content class use a Zope 3 default view when looking at ...@@ -131,19 +142,22 @@ Make a Zope 2 content class use a Zope 3 default view when looking at
it without any paths appended to it. This works then instead of it without any paths appended to it. This works then instead of
``index_html`` in Zope 2. ``index_html`` in Zope 2.
sizable
-------
Retrieve size information for a Zope 2 content class via a Zope 3
style ``ISized`` adapter.
sendEvents
----------
Lets a Zope 2 content class send out Zope 3 object events that
correspond to the Zope 2 methods ``manage_afterAdd`` and
``manage_beforeDelete``.
pagesFromDirectory pagesFromDirectory
------------------ ------------------
Load all *.pt files in a directory as pages. Useful when you want to Load all *.pt files in a directory as pages. Useful when you want to
share templates between Five and CMF, so you can declare pages like share templates between Five and CMF, so you can declare pages like
this is a similar way to setting up skin folders in portal_skins. this is a similar way to setting up skin folders in portal_skins.
browser:editform
----------------
Create an edit form based on a schema.
browser:addform
---------------
Create an add form based on a schema.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment