[prev in list] [next in list] [prev in thread] [next in thread]
List: tapestry-user
Subject: Re: T5: Tutorial question.
From: SergeEby <sdeby () hotmail ! com>
Date: 2007-07-29 19:13:37
Message-ID: 11854069.post () talk ! nabble ! com
[Download RAW message or body]
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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic