From 3bb4cdcbd5c0a5ddb994d1f12f1f38066fc49cba Mon Sep 17 00:00:00 2001 From: Paul Everitt Date: Fri, 25 Jul 2008 14:28:23 +0000 Subject: Remove reference to view factory --- docs/narr/traversal.rst | 2 +- docs/tutorials/lxmlgraph/background.rst | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst index 8eef4a867..df708f973 100644 --- a/docs/narr/traversal.rst +++ b/docs/narr/traversal.rst @@ -166,7 +166,7 @@ code to execute: 8. Armed with the context, the view name, and the subpath, the router performs a view lookup. It attemtps to look up a view from the :mod:`repoze.bfg` application registry using the view - name and the context. If a view factory is found, it is called + name and the context. If a view function is found, it is called with the context and the request. It returns a response, which is fed back upstream. If a view is not found, a generic WSGI ``NotFound`` application is constructed. diff --git a/docs/tutorials/lxmlgraph/background.rst b/docs/tutorials/lxmlgraph/background.rst index 3413e0a9d..e4fdc5034 100644 --- a/docs/tutorials/lxmlgraph/background.rst +++ b/docs/tutorials/lxmlgraph/background.rst @@ -100,9 +100,10 @@ investigations: #. **Multiple views**. Instead of just having a single default view on a node, I can allow other view names, all pointing at the same - factory and XSLT. I simple grab that name and pass it in as a - paramter to the XSLT, which will run a different rule for - rendering. + view function and XSLT. I simple grab that name and pass it in as + a paramter to the XSLT, which will run a different rule for + rendering. Adding a view would no longer required editing ZCML and + adding a function. #. **Forms**. To edit data in the model, I need to render a form, then handle post data on the way back in. For the former, it's -- cgit v1.2.3