Hi,

I'm working on a generator of GWT Java source code from XML files
based on JAXX (a generator of Swing source code from XML) and I've got
a problem : when I parse the XML file, I get the java classes of the
tags using Class.forName(className) during runtime. It's working well
for usual classes but not for GWT client classes, because Class.forName
(className) runs GWT.create and GWT doesn't permit to do it during
runtime.

So I find a way to get a Class object corresponding to the class of my
tag (e.g. Button) without instantiate a Button object (only a Class
object)...

I'm not trying to generate javascript but java code, so I can't use
Generators... I've been stuck on this for days and I don't find any
solution... Does anyone have any idea ?

Thanks

Kevin

--~--~---------~--~----~------------~-------~--~----~
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