Re: [T5] tutorial question

2007-09-20 Thread SergeEby
Looks like you missed an important section of the tutorial: excerpt --- We do need a basic GameOver page. src/main/webapp/WEB-INF/GameOver.html: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Game Over! Game Over You guessed the secret number!

RE: [T5] tutorial question

2007-09-20 Thread Kolesnikov, Alexander GNI
Hi Robert, There is no need to persist the injected page. Your original version should work OK. What exactly the NPE says? Also, as a comment, "back to version 4" is not entirely correct. As a matter of fact, Tapestry 4 and Tapestry 5 seem to be two different frameworks with their own merits (IMH

Re: [T5] Tutorial question

2007-09-19 Thread Nick Westgate
See "Instance variables must be private": http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html Cheers, Nick. Robert A. Decker wrote: Thank you! That was it - declaring it private fixed it: private GameOver _gameOver; I now just inject the page but don't persist it.

Re: [T5] Tutorial question

2007-09-19 Thread Robert A. Decker
Thank you! That was it - declaring it private fixed it: private GameOver _gameOver; I now just inject the page but don't persist it. I'll have to try to read up on what you mean by 'enhance private variables'... R On Sep 19, 2007, at 8:20 PM, Robert Zeigler wrote: Background: I've never

Re: [T5] Tutorial question

2007-09-19 Thread Robert Zeigler
Background: I've never "done" the T5 tutorial. But I do have functional T5 apps. Few things: 1) In T5, multiple annotations/item are supported 2) You don't need to persist the page. You might need to persist values that each page needs, but you don't need to persist the pages. 3) Tapestry will

Re: T5: Tutorial question.

2007-07-29 Thread SergeEby
Do a search in the mailing list. This question was answered a while ago. /Serge Alex Shneyderman wrote: > > Hi, all! > > I am trying out tapestry and was going through the tutorial and > noticed that in the section about Guess.java the following: > > Object onActionFromLink(int guess) >