Closed GoogleCodeExporter closed 9 years ago
After a bit of debugging, I modified PropertyDescriptorsGenerator to 1) produce
valid
Java code, and 2) automatically register the bean info in a static block.
Then in was sufficient to simply call GWT.create(beanClass) to create the
introspector and register the bean info, and subsequent calls to
Introspector.getBeanInfo() worked as expected.
It works, but it's not as "transparent" as I would ideally like to see, since
you
should not have to do anything in particular to enable BeanInfo support.
My modified PropertyDescriptorGenerator is attached.
Original comment by akpr...@gmail.com
on 28 Oct 2008 at 8:56
Attachments:
Thanks for investigating and posting a fix.
This first-drop code was early-experimental-draft with no real test.
Original comment by nicolas....@gmail.com
on 28 Oct 2008 at 9:00
Original comment by nicolas....@gmail.com
on 28 Oct 2008 at 9:01
Original comment by nicolas....@gmail.com
on 18 Dec 2008 at 3:25
I am still getting this error "Class has not been enabled for introspection in
GWT "
with jar gwtx-1.5.2.jar. Is this patch included in this jar. Do I need to take
any
step other than calling Introspector.getBeanInfo(MyJavaBean.class)
Original comment by paul.alok
on 3 Apr 2009 at 6:43
Original issue reported on code.google.com by
akpr...@gmail.com
on 28 Oct 2008 at 7:45Attachments: