[
https://issues.apache.org/jira/browse/TAPESTRY-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580308#action_12580308
]
Filip S. Adamsen commented on TAPESTRY-2283:
--------------------------------------------
No it shouldn't. The target field was added earlier in the tutorial:
package org.apache.tapestry.tutorial.pages;
public class Guess
{
private int _target;
Object initialize(int target)
{
_target = target;
return this;
}
}
> Tutorial #1: The code example is slightly incomplete
> ----------------------------------------------------
>
> Key: TAPESTRY-2283
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2283
> Project: Tapestry
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 5.0.10
> Reporter: Albert Tumanov
> Priority: Minor
>
> http://tapestry.apache.org/tapestry5/tutorial1/hilo.html
> The code that is proposed to be added is slightly incomplete:
> -------------------------------------------------------------------------------------------
> Let's fix this problem, by adding the following to the Guess class:
> public int getTarget()
> {
> return _target;
> }
> -------------------------------------------------------------------------------------------
> It should be like this:
> -------------------------------------------------------------------------------------------
> Let's fix this problem, by adding the following to the Guess class:
> private int _target;
> public int getTarget()
> {
> return _target;
> }
> -------------------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]