Hello,
I have added the following class in my Roo app:
I have registered the class as follows in webmvc-config.xml:Code:package com.bignibou.converter; import org.springframework.format.FormatterRegistry; import org.springframework.format.support.FormattingConversionServiceFactoryBean; import org.springframework.roo.addon.web.mvc.controller.converter.RooConversionService; /** * A central place to register application converters and formatters. */ @RooConversionService public class ApplicationConversionServiceFactoryBean extends FormattingConversionServiceFactoryBean { @Override protected void installFormatters(FormatterRegistry registry) { super.installFormatters(registry); } }
and in applicationContext.xml:Code:<mvc:annotation-driven conversion-service="applicationConversionService"/>
Note that I don't use JSP but Thymeleaf so that I have not run the "web mvc all" command at all.Code:<bean class="com.bignibou.converter.ApplicationConversionServiceFactoryBean" id="applicationConversionService"/>
Can anyone please tell me why the ITDs for the RooConversionService are not generated??
Regards,
Julien.


Reply With Quote
