Got it!!!

used ComponentValueProvider() and did the conversion there...

regards
Taha


On Sun, Jan 2, 2011 at 7:45 AM, Taha Hafeez <tawus.tapes...@gmail.com>wrote:

> Hi
>
> Can I get java.lang.reflect.Field from TransformField ?
>
> I am trying to do this in a ComponentClassTransformWorker by doing this
>
> 1. Class<?> componentClass =
> componentClassCache.get(model.getComponentClassName());
>
> 2. Field field = componentClass.getDeclaredField(transformField.getName());
>
> but the problem is it throws exception at line 1.
>
> I even tried transformation.getClassName() instead of
> model.getComponentClassName() but it did not work
>
> I think it has something to do with not being able to get class from
> componentClassCache till it is transformed...
>
> regards
> Taha
>
>

Reply via email to