where do these live now? does not compile for me. *ThemeDescriptorConverter.java*
import org.apache.struts.model.ThemeDescriptor; import org.apache.struts.model.Themes; On 28 November 2017 at 08:45, Yasser Zamani <yasserzam...@apache.org> wrote: > > > 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 > >