v.classname.tagname works fine. Thanks!

classname is used by some of the components:

charts
incubator/inspector
lz/list
lzunit/lzunit.lzx

It's also used in some of the unit tests.

Phil


Hm.  Oh, I see how that _used_ to work, because makeChild used to
look first in global to see if there was a class that had the name
and only then in ConstructorMap to see if the name was actually a
tag.  This really only worked by sheer chance, because makeChild was
looking in global for user classes, not built-in classes (i.e., what
basegridcolum is trying to do was not part of the contract).

BUT.  All is not lost.  Luckily each class that is the class that
implements a tag has a new property `tagname`, so what you want is
`v.constructor.tagname`.

Let me know, but I think that should work.

IWBNI you grepped through the rest of the components just to make
sure there are no other uses of classname.

Thanks!

Reply via email to