XFormsBind.prototype = new XFormsElement; function XFormsBind (strParentId, strId, strTag, strRef, strCalculate, strConstraint, strReadonly, strRelevant, strRequired, strType, strScript) { if (!strId) { return; } XFormsElement.call(this, strParentId, strId, strTag); /** * Attribute */ this.attribute["ref"] = strRef; this.attribute["calculate"] = strCalculate; this.attribute["constraint"] = strConstraint; this.attribute["readonly"] = strReadonly; this.attribute["relevant"] = strRelevant; this.attribute["required"] = strRequired; this.attribute["type"] = strType; this.attribute["script"] = strScript; this.bindExecute(); }; /** * bind 수식을 실행한다 * @return */ XFormsBind.prototype.bindExecute = function () { if ("" != this.attribute["ref"]) { var strBaseRef = this.attribute["ref"]; var xlRefNode = model.getInstancePart(null, strBaseRef); if (null != xlRefNode) { for (var i=0; i