[Checkins] SVN: bluebream/website/docs/v1.0/manual/browserpage.rst few corrections
Baiju M
baiju.m.mail at gmail.com
Mon Jul 19 07:10:34 EDT 2010
Log message for revision 114843:
few corrections
Changed:
U bluebream/website/docs/v1.0/manual/browserpage.rst
-=-
Modified: bluebream/website/docs/v1.0/manual/browserpage.rst
===================================================================
--- bluebream/website/docs/v1.0/manual/browserpage.rst 2010-07-19 10:02:20 UTC (rev 114842)
+++ bluebream/website/docs/v1.0/manual/browserpage.rst 2010-07-19 11:10:33 UTC (rev 114843)
@@ -13,17 +13,19 @@
------------
In the last chapter we have seen how to use resources HTML. The
-resource HTML will be only available on site-level with the `\@\@`
-prefix.
+resource HTML will be only available on site-level with the ``@@``
+prefix. Where as browser pages are accessed with a single ``@`` just
+before the page name.
Browser page (or more generically views) are representations for
particular objects/components.
-If you have a template like this (helloworld.pt)::
+If you have a template like this (``helloworld.pt``)::
Hello, World !
-Here is how to register a page for ``IFolder`` interface::
+To register a page with the above template for an ``IFolder``
+interface::
<browser:page
name="helloworld.html"
@@ -32,6 +34,10 @@
permission="zope.Public"
/>
+The ``browser:page`` directive is used to register browser pages.
+The `name` attribute specify the name of page which is used in the
+URL. The above page can be accessed like this:
+``http://localhost:8080/@helloworld.html``
View components
---------------
@@ -67,9 +73,11 @@
(e.g. lists, tuples, generators) or mappings (e.g. dicts).
-View components - integration
------------------------------
+Conclusion
+----------
+This chapter created introduced Browser pages (or views).
+
.. raw:: html
<div id="disqus_thread"></div><script type="text/javascript"
More information about the checkins
mailing list