Hi,

it's sometimes useful to reset user data in order to get rid of unused 
object references. I currently use code like this:

   Widget#setUserData( key, undefined )

However, I'm not sure whether this is the correct practice and I'm 
somehow missing a method like

   MUserData#resetUserData( String key )

I think this would be more consistent with the get/set/reset pattern 
that you use for properties etc. Is there anything that keeps you from 
implementing such a method?

Thanks,
   Ralf


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to