Grails databinding with decimal delimiter

前端 未结 3 2045
孤城傲影
孤城傲影 2020-12-31 13:30

I have a problem when I use grail automatic databinding \"ex: Test t = new Test(params)\" with decimal delimiter on Double form field. After few search, I\'ve found that it

3条回答
  •  生来不讨喜
    2020-12-31 13:59

    For Grails 2.3+ you can properly override the default binder/converter, although it is not trivial or intuitive.

    See my answer here: Binding real number values to Grails domain attributes (values sent by Dojo widgets)

提交回复
热议问题