Have you looked at the create() method of the GWT class? On Dec 8, 9:03 am, Gaurav Vaish <[email protected]> wrote: > 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 Vaishhttp://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.
