On 11/28/2017 11:51 AM, Greg Huber wrote: > Is there any way I can > now easily do this?
I think you can write a small custom converter via extending `com.opensymphony.xwork2.conversion.impl.StringConverter` and overriding it's `convertToString` method [1] then you can register it globally for java.lang.Double types via a file named `xwork-conversion.properties` in your resources folder [2] which contains: java.lang.Double=com.mycompany.myDoubleWithDotZerroConverter [1] https://github.com/apache/struts-examples/blob/master/type-conversion/src/main/java/org/apache/struts/example/ThemeDescriptorConverter.java [2] https://github.com/apache/struts-examples/blob/master/type-conversion/src/main/resources/xwork-conversion.properties --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org