[Checkins] SVN: bluebream/website/docs/v1.0/tutorial2.rst Fix example

Baiju M baiju.m.mail at gmail.com
Wed Mar 10 13:12:05 EST 2010


Log message for revision 109898:
  Fix example
  

Changed:
  U   bluebream/website/docs/v1.0/tutorial2.rst

-=-
Modified: bluebream/website/docs/v1.0/tutorial2.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial2.rst	2010-03-10 17:47:20 UTC (rev 109897)
+++ bluebream/website/docs/v1.0/tutorial2.rst	2010-03-10 18:12:04 UTC (rev 109898)
@@ -258,7 +258,7 @@
 
   class TicketMainView(form.DisplayForm):
 
-      form_fields = form.Fields(ICollector)
+      form_fields = form.Fields(ITicket)
 
       template = ViewPageTemplateFile("ticketmain.pt")
 
@@ -281,7 +281,6 @@
   </body>
   </html>
 
-
 Then, in the ``src/tc/main/configure.zcml``::
 
   <browser:page
@@ -291,10 +290,9 @@
      class="tc.main.views.TicketMainView"
      />
 
-Now you can visit: http://localhost:8080/mycollector/1 It should
-display the ticket number and summary.  Alternately you can also
-visit: http://localhost:8080/mycollector/1/@@index.  Then, if you open
-the HTML source from browser, it will look like this::
+Now you can visit: http://localhost:8080/mycollector/1/@@index It
+should display the ticket number and summary.  If you open the HTML
+source from browser, it will look like this::
 
   <html>
   <head>



More information about the checkins mailing list