View Full Version : How to convert String to LayoutContainer
17 Jul 2009, 12:15 AM
I want to convert a String which is retrieved from database into a LayoutContainer.Kindly help me out as soon as possible.
Thanks in Advance.
17 Jul 2009, 9:19 AM
Are you storing source code in your database?
I'm not storing the source code, i'm storing the name of the java class in database where i have written the source code. I'm retrieving the source code name from database and i want to call that class. To call this class i need to convert this string into LayoutContainer.
19 Jul 2009, 12:11 AM
It looks like you want a reflection mechanism, something like Class.forName(...)
As far as I know, that is not supported in GWT. There is a gwt reflection project on sourceforge but I have no idea of the features it offers. You might try it out.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.