Hi Bryan,

sorry, but it was not the solution for my problem.

First I tested it with a class with already created objects and it 
works. But in the application
a table view has to open a detail view which was given by classname. 
This detail view
was normally not created before.
This behavior should be implemented generic in the base class. And in 
this case the
qx.Class.getByName(<String>) returns with "undefined". But the classname 
is correct.

Do you have a further hint for me?

Thanks.

Lutz


Lutz Schoder schrieb:
> Hi Bryan,
>
> thank you very much. The brackets are the missing link.
>
> Lutz
>
>
> Bryan Coutch schrieb:
>> var clazz = qx.Class.getByName("de.domain.LanguageTable");
>> var obj = new clazz();
>>
>> -----Original Message-----
>> From: Lutz Schoder [mailto:[email protected]] Sent: Monday, May 
>> 04, 2009 10:18 AM
>> To: qooxdoo Development
>> Subject: [qooxdoo-devel] new Instance from String
>>
>> Hi All,
>>
>> I'm searching for a classForName()-like way to create an object from 
>> a string:
>>
>> var clazz = "de.domain.LanguageTable";
>> var obj = <methodname>(clazz);
>>
>> The qx.Class.getByName() seems not be the correct way. Knows someone a
>> solution?
>>
>> Thanks
>>
>> Lutz
>>
>>   
>
>


-- 
Mit freundlichen Grüßen / Best regards

Lutz Schoder

SoftConcept GmbH
Borriesstr. 35
D-32257 Bünde
www.softcontract.de
www.softconcept.net

Amtsgericht Bad Oeynhausen, HRB 8162
Steuernummer 310/5786/0202
Geschäftsführer: Jürgen Tiemann


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to