[Checkins] SVN: bluebream/website/docs/v1.0/tutorial.rst basic outline for last section
Baiju M
baiju.m.mail at gmail.com
Sun Jan 17 01:59:08 EST 2010
Log message for revision 108186:
basic outline for last section
Changed:
U bluebream/website/docs/v1.0/tutorial.rst
-=-
Modified: bluebream/website/docs/v1.0/tutorial.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial.rst 2010-01-17 06:50:43 UTC (rev 108185)
+++ bluebream/website/docs/v1.0/tutorial.rst 2010-01-17 06:59:08 UTC (rev 108186)
@@ -697,11 +697,46 @@
class=".views.AddTicketCollector"
/>
+A default view for collector
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+views.py::
+
+ class TicketCollectorMainView(BrowserView):
+
+ def __call__(self):
+ return "Helloo tttt "
+
+configure.zcml::
+
+ <browser:page
+ for=".interfaces.ICollector"
+ name="index"
+ permission="zope.ManageContent"
+ class=".views.TicketCollectorMainView"
+ />
+
+In the next section, you will see more details about the main page.
+Also we are ging to learn a brief overview of Zope Page Template.
+
+
.. _tut-main-page:
Creating the main page
----------------------
+Browser Page
+~~~~~~~~~~~~
+
+Zope Page Template
+~~~~~~~~~~~~~~~~~~
+
+Implementing view
+~~~~~~~~~~~~~~~~~
+
+Registering view
+~~~~~~~~~~~~~~~~
+
.. _tut-conclusion:
Conclusion
More information about the checkins
mailing list