Hi,

I have a peculiar situation in my application.

I need to instantiate a class given its name. The name is determined
dnyamically.

In JavaScript, it's easy to do...

---------------------------
var ctorFn = window[className]; //assuming that the className does not
have any dots
var instance = new ctorFn();
---------------------------


How can I, if at all, accomplish this in GWT.


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to