PDA

View Full Version : How to register User-extenions?



lelandstrott
4 Apr 2009, 1:47 PM
Hi,

Is there a recommended way how to register User-extenions with the Component Manager? To be more precise, is there a recommended namespace for the xtypes?

I use something like:
Ext.reg("ux:myextension", Ext.ux.MyExtension);

Has anyone has any idea about it ?

mjlecomte
4 Apr 2009, 2:01 PM
I haven't seen any convention as of yet. "ux-whatever" might be safe. Some "prefix-classType" might be best to avoid naming collisions.

mjlecomte
4 Apr 2009, 2:02 PM
P.S. I suggest a different signature, for risk of being ostracized for spam.