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)
> {
> _count++;
>
> if (guess == _target)
> {
> _gameOver.setup(_count);
> return _gameOver;
> }
>
> if (guess < _target)
> _message = String.format("%d is too low.", guess);
> else
> _message = String.format("%d is too high.", guess);
>
> return null;
> }
>
>
> this however does not work. I changed the name of the handler to
>
> Object onAction(int guess)
> {
> ...
> }
>
> and things started to work as expected. Did I miss something or it is
> a mess up in tutorial.
>
> --
> Thanks,
> Alex.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-Tutorial-question.-tf4166391.html#a11854069
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]