You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johan Compagner (JIRA)" <ji...@apache.org> on 2008/03/24 12:19:25 UTC
[jira] Closed: (WICKET-1421) DecimalConverter with grouping
disabled needed
[ https://issues.apache.org/jira/browse/WICKET-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Compagner closed WICKET-1421.
-----------------------------------
Resolution: Fixed
getNumberFormat of AbstractIntegerConverter or AbstractDecimalConverter are not final now
So if you want to change the number formats behavior just override those methods and call what ever you want on them.
> DecimalConverter with grouping disabled needed
> ----------------------------------------------
>
> Key: WICKET-1421
> URL: https://issues.apache.org/jira/browse/WICKET-1421
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3.1
> Reporter: Jari Petays
> Assignee: Johan Compagner
> Fix For: 1.3.3
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> I need converters that do not accept grouping in decimal numbers.
> I want to disabled grouping in AbstractDecimalConverter saying setGroupingUsed(false) easily for DoubleConverter and FloatConverter.
> Now it seems that I have to do that with copy-paste because I can not inherit.
> And inheriting is not as good as to set grouping behavior to converter objects where applicable - even for AbstractIntegerConverter.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.