Loading classes dynamically

2 views
Skip to first unread message

eduard...@gmail.com

unread,
Jun 16, 2006, 3:32:45 PM6/16/06
to Google Web Toolkit
Hi people
Somebody knows a way to load a class dynamically in GWT, like
Class.forName( 'com.company.classname'). I'm really interested in load
a class using a string.
I'd trying to use GWT.create(Class) but not works for me.

Thanks for any help

Sriram Narayanan

unread,
Jun 16, 2006, 4:10:49 PM6/16/06
to Google-We...@googlegroups.com

I'm really curious about why you would want to do this. I couldn't
figure out a Javascript equivalent for this, apart from perhaps using
eval().

> Thanks for any help
>
>
> >
>

Reply all
Reply to author
Forward
0 new messages