ReportGenerator: Use the correct numeric formatting.
authorMurray Cumming <murrayc@murrayc.com>
Wed, 18 Apr 2012 19:32:21 +0000 (21:32 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 18 Apr 2012 19:32:21 +0000 (21:32 +0200)
commitf34edefae3933119ea1adfb69977357ceafa71bf
tree79243a349017e34151b80510fbc12cb49c8916cc
parentd42a20fd3b86bdf5eb2305c81dbdb29755843cda
ReportGenerator: Use the correct numeric formatting.

* src/main/java/org/glom/web/server/ReportGenerator.java
createFieldExpression(), createFieldValueElement(): Take the
whole LayoutItem_Field instead of just the field name, so
we have access to the formatting.
createFieldValueElement(): Use JRTextField.setPattern() to
specify the numeric formatting, with the help of a
regular DecimalFormat.
ChangeLog
src/main/java/org/glom/web/server/ReportGenerator.java