You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/04/15 03:09:07 UTC

svn commit: r648084 - /tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt

Author: hlship
Date: Mon Apr 14 18:09:04 2008
New Revision: 648084

URL: http://svn.apache.org/viewvc?rev=648084&view=rev
Log:
TAPESTRY-2285: Tutorial #1 talks about "setup()" method instead of "initialize()"

Modified:
    tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt

Modified: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt?rev=648084&r1=648083&r2=648084&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt (original)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/hilo.apt Mon Apr 14 18:09:04 2008
@@ -248,7 +248,7 @@
   The same page instance will be used for request after request. 
   
   So, inside the action request, the code inside the onAction() event handler method <did> call the
-  setup() method, and a value between 1 and 10 was stored in the _target instance variable. But
+  initialize() method, and a value between 1 and 10 was stored in the _target instance variable. But
   at the end of that request, the value was lost, and in the subsequent render request for the Guess page,
   the value was zero.
   
@@ -424,7 +424,7 @@
   private int _count;
 ---
 
-  Next we modified setup() to ensure that _count is set to 0.  This is a safety
+  Next we modified initialize() to ensure that _count is set to 0.  This is a safety
   precaution in case we add logic to play the game again.
   
 ---