You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Albert Tumanov (JIRA)" <de...@tapestry.apache.org> on 2008/03/19 10:34:24 UTC

[jira] Created: (TAPESTRY-2283) Tutorial #1: The code example is slightly incomplete

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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Commented: (TAPESTRY-2283) Tutorial #1: The code example is slightly incomplete

Posted by "Filip S. Adamsen (JIRA)" <de...@tapestry.apache.org>.
    [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-2283) Tutorial #1: The code example is slightly incomplete

Posted by "Albert Tumanov (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Tumanov resolved TAPESTRY-2283.
--------------------------------------

    Resolution: Invalid

Sorry, my fault.

> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org