// 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);