XFormsModel.prototype = new XFormsElement; function XFormsModel (strParentId, bAutodata, strID, strTag) { if (!strID) { return; } XFormsElement.call(this, strParentId, strID, strTag); // Attribute this.attribute["autocdata"] = bAutodata = false; // Property this.autocdata; this.instances = new Collection(); this.property = new Hashtable(); this.propertyReg; this.registry; this.m_objTabIndex = new Array(); this.m_objHttpClient = new HttpClient(); this.m_objCurrentSubmission; this.m_bDoneUnload = false; this.m_hmInstanceData = null; this.m_bHasUploadFile = false; this.m_strSessionId = ""; this.m_resetRoot = null; }; XFormsModel.prototype.getId = function () { return this.id; }; XFormsModel.prototype.addLog = function () { //TODO window.alert("model.addLog() is not avilable."); }; XFormsModel.prototype.addScript = function (strScript) { //