[ 
https://issues.apache.org/jira/browse/WICKET-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralf Eichinger updated WICKET-2967:
-----------------------------------

    Description: 
Wicket-Examples (LinkPage) use examples specific "ClickCount"-model class.
Should use org.apache.wicket.util.value.Count class (to promote the use of it).
For being usable for all examples, the Count-class needs this additional method:

/**
 * Decreases the count value by one.
 */
public void decrement() {
  count--;
}

and a "setCount(int count)" method.

  was:
Wicket-Examples (LinkPage) use examples specific "ClickCount"-model class.
Should use org.apache.wicket.util.value.Count class (to promote the use of it).
For being usable for all examples, the Count-class needs this additional method:

/**
 * Decreases the count value by one.
 */
public void decrement() {
  count--;
}


> org.apache.wicket.util.value.Count: add decrement method
> --------------------------------------------------------
>
>                 Key: WICKET-2967
>                 URL: https://issues.apache.org/jira/browse/WICKET-2967
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>    Affects Versions: 1.4.9
>            Reporter: Ralf Eichinger
>            Priority: Trivial
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Wicket-Examples (LinkPage) use examples specific "ClickCount"-model class.
> Should use org.apache.wicket.util.value.Count class (to promote the use of 
> it).
> For being usable for all examples, the Count-class needs this additional 
> method:
> /**
>  * Decreases the count value by one.
>  */
> public void decrement() {
>   count--;
> }
> and a "setCount(int count)" method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to