Hello,

Have I understood correctly alias and inlineID are in addition to the
actual DynObject id and refer to the same DynObject.

All DynObjects are stored in the DynObject.all array referenced by
either the auto generated DynObject id, or the alias, or the inlineID.

I think it's the last one to call setID which changes this.id so we
can use an overloaded Object.toString call and get a string literal
to the object for specific needs like e.g. setTimeout(this+._slide(....

Do we only need a setID on rendered (inline?) elements so move
setID to DynLayer.setID may save space in DynObject.all on
unused ids? 

Is there a bug in event.js addChild?

 if(alias) this[alias]=c; ???
 if(inlineID) c.setID(inlineID,true);
or
 if(alias) c.setID(this.alias=alias); *
 if(inlineID) c.setID(inlineID,true);
or
 if(alias) c.setID(alias,true); **
 if(inlineID) c.setID(inlineID,true);

* Example of using this.alias would help my understanding?
** Would we ever ask for an alias if it was not rendered (inline)?

Kevin.

[EMAIL PROTECTED]




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to