[Checkins] SVN: bluebream/website/docs/v1.0/gettingstarted.rst simplify example
Baiju M
baiju.m.mail at gmail.com
Thu Mar 4 11:28:48 EST 2010
Log message for revision 109653:
simplify example
Changed:
U bluebream/website/docs/v1.0/gettingstarted.rst
-=-
Modified: bluebream/website/docs/v1.0/gettingstarted.rst
===================================================================
--- bluebream/website/docs/v1.0/gettingstarted.rst 2010-03-04 15:54:37 UTC (rev 109652)
+++ bluebream/website/docs/v1.0/gettingstarted.rst 2010-03-04 16:28:45 UTC (rev 109653)
@@ -503,6 +503,8 @@
.. based on: http://wiki.zope.org/zope3/ADynamicHelloWorld
+This section explain creating a dynamic hello world application.
+
Python class
~~~~~~~~~~~~
@@ -550,13 +552,13 @@
(ZCML). Edit the existing file called ``configure.zcml`` and add the
following content before the final ``</configure>``::
- <browser:page name="hello.html"
+ <browser:page name="hello3"
for="*"
class=".hello.Hello"
template="hello.pt"
permission="zope.Public" />
-This declaration means: there is a web page called ``hello.html``,
+This declaration means: there is a web page called ``hello3``,
available for any content, managed by the view class ``Hello``,
rendered by the template ``hello.pt``, and this page is public.
@@ -571,14 +573,14 @@
xmlns:browser="http://namespaces.zope.org/browser">
Restart your application, then visit the following URL:
-http://127.0.0.1:8080/@@hello.html
+http://127.0.0.1:8080/@@hello3
You should then see the following text in your browser::
Hello ! What's your name ?
You can pass a parameter to the Hello view class, by visiting the
-following URL: http://127.0.0.1:8080/@@hello.html?name=World
+following URL: http://127.0.0.1:8080/@@hello3?name=World
You should then see the following text::
More information about the checkins
mailing list