XFormsSwitch.prototype = new XFormsControl; function XFormsSwitch (strParentId, strClass, bDisabled, strId, strStyle, strTag, strVisibility, strUserDefineAttrib) { if (!strId) { return; } XFormsControl.call(this, strParentId, /*strAlert*/"", /*strHelp*/"", /*strHint*/"", /*strAccesskey*/"", strClass, bDisabled, strId, /*nNavindex*/"", strStyle, strTag, strVisibility, strUserDefineAttrib); /** * Property */ this.selected; this.selectedIndex; /** * Method */ this.m_isChild; }; XFormsSwitch.prototype.init = function () { XFormsControl.prototype.init.call(this); var bSelectCase = false; var strFirstChildId = ""; var nIndex = 0; var arKeyset = this.children.keys(); for (var i=0; i