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

Ralf Eichinger reopened WICKET-2967:
------------------------------------


thank you for the "decrement" method.
But "setCount" method is still missing (needed for Link example, that stores 
previous state and sets count explicitly when browser back button clicked...)

Could you please add it?

public void setCount(int count) {
  this.count = 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
>            Assignee: Juergen Donnerstag
>            Priority: Trivial
>             Fix For: 1.4.10, 1.5-M1
>
>   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