I'll look into that. What I ended up doing was a hack overwriting the add
method in the TypeConverterFactory, where I Cast my subclasses to the super
class. Very ugly, but gets around the "compile-error".

I'll have a look at the new interface.

Regards

Morten

2009/2/25 luther blisset <[email protected]>

>
> may the problem is the changes on TypeConverter interface..
>
> http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/validation/TypeConverter.html
>
> in your case for your LongTypeConverter:
>
> LongTypeConverter implements TypeConverter<Part.class> {...}
>
> i hope this helps you..
>
>
>
> Morten Matras-3 wrote:
> >
> > When upgrading my application to use Stripes 1.5 I've got a strange
> > problem.
> >
> > In my TypeConverterFactory I add some typeconverters manually using the
> > add
> > method:
> >
> > add (Part.class, LongTypeConverter.class);
> >
> > where LongTypeConverter.class implements TypeConverter.class
> >
> > The error message tells me that the method doesn't exist, but I can't see
> > why.
> >
> > Any idea why this doesn't work?
> >
> > Regards
> >
> > --
> >  Morten Matras
> >  Consultant
> >  Blob Communication ApS
> >  Svendsagervej 42
> >  DK-5240 Odense NØ
> >  P: (+45) 76 6-5-4-3-2-1
> >  W: www.blobcom.com
> >  E: [email protected]
> >
> >
> ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> > CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> > Enterprise
> > -Strategies to boost innovation and cut costs with open source
> > participation
> > -Receive a $600 discount off the registration fee with the source code:
> > SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > Stripes-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/TypeConverting---upgrading-from-1.4.3-to-1.5-tp22120810p22206522.html
> Sent from the stripes-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



-- 
 Morten Matras
 Consultant
 Blob Communication ApS
 Svendsagervej 42
 DK-5240 Odense NØ
 P: (+45) 76 6-5-4-3-2-1
 W: www.blobcom.com
 E: [email protected]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to