PDA

View Full Version : Namespace support: Ext.ns("Myapp");



jvolt
28 May 2010, 10:49 AM
Is there some way to use Namespace within Ext Designer?

jarrednicholls
28 May 2010, 4:34 PM
At this time no, but it has indeed been suggested before and we want to build in support for it in the near future. Specifically, to name your classes with namespaces and auto-gen the Ext.ns() calls. Thanks.

jvolt
29 May 2010, 1:46 PM
Aw ok, thanks jarred

icvg
30 May 2011, 5:00 AM
I use version 1.1.2. Does Ext Designer support this feature now?

berntkau
30 May 2011, 9:35 PM
Since ver 1.0.2.2, yes!


xds-1.0.2.2 July 9th
New Feature: Namespace Generation
Now you can give your classes a "jsClass" configuration that includes your own custom namespace prefix. An Ext.ns() function call will now be generated as a part of your class code that is used during a Preview as well as during a Project Export.