Apr 20th, 2008, 12:21 PM
Binding Form Data to DynaBeans
I want to use a domain object, which contains a property of type DynaBean, which in turn may contain nested data structures.
I get NotReadablePropertyException s, when accessing the domain object from my view, which is obviously due to the fact that the BeanWrapperImpl does not support DynaBeans directly. (The other way round, I expect the same problem when binding the form data back to the domain object, no?)
How would I start to tackle this issue? Any pointers, how to access (read/write) the DynaBean bean property would be greatly appreciated.
Apr 20th, 2008, 02:12 PM
After reading this http://forum.springframework.org/showthread.php?t=11765 I will try out cglib. Hope that works out.
Btw, if you know about any articles/documentation about cglib please let me know.