[Laszlo-dev] The concept of node.classname in 4.0.18

Raju Bitter rajubitter at me.com
Sun Nov 15 03:19:15 PST 2009


In an old app OL 3.4 app I used the following code:

var tabs = parent.searchSubnodes('classname', 'CustomTabs');

But in 4.0.18 (Webtop) that doesn't work any more. What happened to  
the concept of being able to access the name of the class through  
nodeObject.classname? That worked in 3.3, and in 4.0.18 (Webtop) it  
returns "Object", which is not very helpful. By looking at the source  
code for LzNode I saw that it's possible to access the real classname  
through object.constructor.classname.

Is that a bug, or a feature?

Thanks,
Raju




More information about the Laszlo-dev mailing list