How about using an IConverter since the issue is not about the data itself but the representation of it?
For example, you could create a Label class that overrides the getConverter() and return a BigDecimalConverter object that overrides the getNumberFormat method to return something like DecimalFormat.getCurrencyInstance(). Andrew On Fri, Dec 1, 2017 at 3:39 PM, sorinev <[email protected]> wrote: > I added a setter for each property, but it's still not working (tried > matching field types as well). I guess I'll just have to stick with the > IModel route, even though I don't like it. > > I changed the Doubles to BigDecimal, thanks for the reminder. > > -- > Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
