No registered users in community xowiki
in last 10 minutes
in last 10 minutes
[Xotcl] NX nested objects
From: Victor Mayevski <vitick_at_gmail.com>
Date: Fri, 21 Jan 2011 14:52:55 -0800
Hello Gustaf,
After adding attributes to an object, and creating nested objects
within it, I need to list those nested objects. When I do [myobject
info children], "::myobject::slot" is listed among other nested
objects that I created. Since my code did not specifically create the
"slot" object (it is an artifact of creating attributes), it seems
that it should not be listed along with my scripted objects, perhaps
[myobject info lookup children] is a better place to list the "slot"
object?
Thanks,
Victor
Date: Fri, 21 Jan 2011 14:52:55 -0800
Hello Gustaf,
After adding attributes to an object, and creating nested objects
within it, I need to list those nested objects. When I do [myobject
info children], "::myobject::slot" is listed among other nested
objects that I created. Since my code did not specifically create the
"slot" object (it is an artifact of creating attributes), it seems
that it should not be listed along with my scripted objects, perhaps
[myobject info lookup children] is a better place to list the "slot"
object?
Thanks,
Victor