diff options
Diffstat (limited to 'docs/tutorials/lxmlgraph')
5 files changed, 16 insertions, 22 deletions
diff --git a/docs/tutorials/lxmlgraph/step01/myapp/configure.zcml b/docs/tutorials/lxmlgraph/step01/myapp/configure.zcml index b139396fa..e06023c24 100644 --- a/docs/tutorials/lxmlgraph/step01/myapp/configure.zcml +++ b/docs/tutorials/lxmlgraph/step01/myapp/configure.zcml @@ -1,11 +1,10 @@ -<configure xmlns="http://namespaces.zope.org/zope" - xmlns:bfg="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://namespaces.repoze.org/bfg"> <!-- this must be included for the view declarations to work --> - <include package="repoze.bfg" /> + <include package="repoze.bfg.includes" /> <!-- the default view for a MyModel --> - <bfg:view + <view for=".models.IMyModel" view=".views.my_hello_view" /> diff --git a/docs/tutorials/lxmlgraph/step02/myapp/configure.zcml b/docs/tutorials/lxmlgraph/step02/myapp/configure.zcml index d299dc883..2414ae6b2 100644 --- a/docs/tutorials/lxmlgraph/step02/myapp/configure.zcml +++ b/docs/tutorials/lxmlgraph/step02/myapp/configure.zcml @@ -1,9 +1,8 @@ -<configure xmlns="http://namespaces.zope.org/zope" - xmlns:bfg="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://namespaces.repoze.org/bfg"> - <include package="repoze.bfg" /> + <include package="repoze.bfg.includes" /> - <bfg:view + <view for=".models.IMyModel" view=".views.my_view" /> diff --git a/docs/tutorials/lxmlgraph/step03.rst b/docs/tutorials/lxmlgraph/step03.rst index 0f54f8761..ce88b78c8 100644 --- a/docs/tutorials/lxmlgraph/step03.rst +++ b/docs/tutorials/lxmlgraph/step03.rst @@ -20,14 +20,12 @@ Change your project's ``configure.zcml`` so that it looks like this: .. code-block:: xml - <configure xmlns="http://namespaces.zope.org/zope" - xmlns:bfg="http://namespaces.repoze.org/bfg" - i18n_domain="repoze.bfg"> + <configure xmlns="http://namespaces.repoze.org/bfg"> <!-- this must be included for the view declarations to work --> - <include package="repoze.bfg" /> + <include package="repoze.bfg.includes" /> - <bfg:view + <view for=".models.IMyModel" view=".views.zpt_view" /> diff --git a/docs/tutorials/lxmlgraph/step03/myapp/configure.zcml b/docs/tutorials/lxmlgraph/step03/myapp/configure.zcml index 83d83ab61..43b766cfb 100644 --- a/docs/tutorials/lxmlgraph/step03/myapp/configure.zcml +++ b/docs/tutorials/lxmlgraph/step03/myapp/configure.zcml @@ -1,14 +1,13 @@ -<configure xmlns="http://namespaces.zope.org/zope" - xmlns:bfg="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://namespaces.repoze.org/bfg"> - <include package="repoze.bfg" /> + <include package="repoze.bfg.includes" /> - <bfg:view + <view for=".models.IMyModel" view=".views.zpt_view" /> - <bfg:view + <view for=".models.IMyModel" view=".views.xslt_view" name="xsltview.html" diff --git a/docs/tutorials/lxmlgraph/step04/myapp/configure.zcml b/docs/tutorials/lxmlgraph/step04/myapp/configure.zcml index 1ba4c9155..c2d59effb 100644 --- a/docs/tutorials/lxmlgraph/step04/myapp/configure.zcml +++ b/docs/tutorials/lxmlgraph/step04/myapp/configure.zcml @@ -1,9 +1,8 @@ -<configure xmlns="http://namespaces.zope.org/zope" - xmlns:bfg="http://namespaces.repoze.org/bfg"> +<configure xmlns="http://namespaces.repoze.org/bfg"> - <include package="repoze.bfg" /> + <include package="repoze.bfg.includes" /> - <bfg:view + <view for=".models.IMyModel" view=".views.xslt_view" /> |
