CVS: TapestryBook/hangman2/src/hangman2 Visit.java,1.1,1.2

Howard Lewis Ship <[email protected]> Wed, 23 Apr 2003 12:04:21 -0700
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/hangman2/src/hangman2
In directory sc8-pr-cvs1:/tmp/cvs-serv12962/hangman2/src/hangman2

Modified Files:
	Visit.java 
Log Message:
Fix minor bugs in example code.

Index: Visit.java
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/hangman2/src/hangman2/Visit.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Visit.java	16 Mar 2003 03:05:24 -0000	1.1
--- Visit.java	23 Apr 2003 19:03:48 -0000	1.2
***************
*** 32,36 ****
          // page to allow the player to start making guesses.
  
!         cycle.setPage("Guess");
      }
  
--- 32,36 ----
          // page to allow the player to start making guesses.
  
!         cycle.activate("Guess");
      }
  
***************
*** 49,53 ****
              return;
  
!         cycle.setPage(_game.isWin() ? "Win" : "Lose");
      }
  
--- 49,53 ----
              return;
  
!         cycle.activate(_game.isWin() ? "Win" : "Lose");
      }
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf