[Zope-CVS] CVS: Packages/JobBoardEx - Tutorial.html:1.5

Guido van Rossum guido@python.org
Fri, 22 Mar 2002 21:20:47 -0500


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv3260

Modified Files:
	Tutorial.html 
Log Message:
Don't tell a lie about action="." -- it's now "".


=== Packages/JobBoardEx/Tutorial.html 1.4 => 1.5 ===
 information buried in the tag fields. Leaving that aside for the time
 being, we're primarily interested in the form's "action" and the
-"submit" inputs (the buttons). The "action" is set to ".", which means
-(to Zope) "back to the object that created the page." In this case,
+"submit" inputs (the buttons). The "action" is set to "", which means
+(to the browser) "back to the object that created the page." In this case,
 that means the JobEditView object. When you combine this fact with the
 "submit" inputs, for "Preview" and "Cancel," we produce the desired
 results. The name for the preview button is "preview:method". This
 tells Zope that when that button is pressed it should call a method
-named "preview," and since "action" is ".", that indicates that Zope
+named "preview," and since "action" is "", that indicates that Zope
 should call the preview method on the page's current object, a
 JobEditView. So it calls JobEditView's preview() method, which you can
 see will produce another page, created with the expression