It appears that since upgrading from 5.1 to 5.2 Tapestry completely
ignores my AppModule altogether. The only thing that has changed is
the Tap version. Has anyone experienced this?

On Fri, Aug 20, 2010 at 9:31 AM, Todd Orr <torr0...@gmail.com> wrote:
> This used to work in 5.1.05:
>
>        public static void contributeTypeCoercer(Configuration<CoercionTuple>
> configuration) {
>
>                configuration.add(new CoercionTuple<String, 
> Class>(String.class,
> Class.class, new Coercion<String, Class>() {
>                       �...@override
>                        public Class coerce(String input) {
>                                try {
>                                        return Class.forName(input);
>                                } catch (ClassNotFoundException e) {
>                                        throw new RuntimeException(e);
>                                }
>                        }
>                }));
>
>        }
>
> Since upgrading to 5.2.0 I received this error:
>
> Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: Could
> not find a coercion from type java.lang.String to type
> java.lang.Class.
>
> Is there a new syntax for this?
>
> Thanks,
> T
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to