[
http://www.stripesframework.org/jira/browse/STS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-267.
--------------------------
> SpringTypeConverterFactory
> --------------------------
>
> Key: STS-267
> URL: http://www.stripesframework.org/jira/browse/STS-267
> Project: Stripes
> Issue Type: New Feature
> Components: Validation
> Affects Versions: Release 1.4
> Reporter: Patrick Lightbody
> Priority: Minor
> Fix For: Release 1.6
>
>
> import net.sourceforge.stripes.validation.DefaultTypeConverterFactory;
> import net.sourceforge.stripes.validation.TypeConverter;
> import net.sourceforge.stripes.integration.spring.SpringHelper;
> import javax.servlet.ServletContext;
> import java.util.Locale;
> public class SpringTypeConverterFactory extends DefaultTypeConverterFactory {
> public TypeConverter getInstance(Class<? extends TypeConverter> clazz,
> Locale locale) throws Exception {
> TypeConverter tc = super.getInstance(clazz, locale);
> ServletContext sc = getConfiguration().getServletContext();
>
> SpringHelper.injectBeans(tc, sc);
>
> return tc;
> }
> }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development