[ 
http://www.stripesframework.org/jira/browse/STS-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederic Daoud resolved STS-267.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.6

This is all available now with the ObjectFactory.


> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to