Blog  |   Sitemap  |   Search  |   Language:  eng рус
Home
JavaScript GUI FrameworkReference

Object AMLNamespace

Base class for mark-up language implementation.

Members Table

The following table lists the members exposed by the AMLNamespace object.

Show:
Properties
Methods

Examlpes

// Create namespace object
var oMyNamespace        = new AMLNamespace;

// Register namespace object with implementation
ample.domConfig.setNamespace("http://www.mybusiness.com/ns/ui", oMyNamespace);

// Create elements and register them with the namespace
var cMyComboBoxComponent        = function() {
        this.options    = new AMLNodeList;
}
cMyComboBoxComponent.prototype  = new AMLElement;
cMyComboBoxComponent.prototype.options  = null;
cMyComboBoxComponent.prototype.addOption        = function(oOption) {
        // method implementation
}

// Register component with namespace implementation
oMyNamespace.setElement("combobox", cMyComboBoxComponent);