id='cDhTajE2T2lxSkhqMzZUTXVacWYyNcKwV3A4eWYybDdyb1p3'; $this->width='99%'; $this->title=''; $this->fields = unserialize( 'a:10:{s:7:"PRO_UID";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:7:"PRO_UID";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:7:"TAS_UID";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:7:"TAS_UID";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:5:"INDEX";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:5:"INDEX";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:5:"IFORM";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:5:"IFORM";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:9:"TAS_TITLE";O:18:"XmlForm_Field_Text":50:{s:4:"size";s:2:"50";s:9:"maxLength";s:3:"255";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";s:1:"1";s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";s:1:"0";s:13:"sqlConnection";s:0:"";s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:13:"gridFieldType";s:4:"text";s:7:"formula";s:0:"";s:8:"function";s:0:"";s:11:"replaceTags";i:0;s:10:"renderMode";s:0:"";s:15:"comma_separator";s:1:".";s:10:"onkeypress";s:0:"";s:4:"name";s:9:"TAS_TITLE";s:4:"type";s:4:"text";s:5:"label";s:5:"Title";s:7:"pmLabel";s:5:"Title";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";s:1:"1";s:4:"mode";s:4:"edit";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:15:"TAS_DESCRIPTION";O:22:"XmlForm_Field_Textarea":40:{s:4:"rows";s:1:"6";s:4:"cols";s:2:"50";s:8:"required";s:1:"0";s:8:"readOnly";b:0;s:4:"wrap";s:3:"OFF";s:9:"className";N;s:10:"renderMode";s:0:"";s:4:"name";s:15:"TAS_DESCRIPTION";s:4:"type";s:8:"textarea";s:5:"label";s:11:"Description";s:7:"pmLabel";s:11:"Description";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";s:1:"1";s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:21:"TAS_PRIORITY_VARIABLE";O:20:"XmlForm_Field_TextPM":52:{s:4:"size";s:2:"48";s:9:"maxLength";s:3:"155";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:7:"formula";s:0:"";s:8:"function";s:0:"";s:11:"replaceTags";i:0;s:8:"showVars";s:1:"1";s:7:"process";s:9:"@#PRO_UID";s:6:"symbol";s:2:"@@";s:10:"onkeypress";s:0:"";s:10:"renderMode";s:0:"";s:4:"name";s:21:"TAS_PRIORITY_VARIABLE";s:4:"type";s:6:"textpm";s:5:"label";s:26:"Variable for Case priority";s:7:"pmLabel";s:26:"Variable for Case priority";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";s:1:"1";s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:25:"TAS_DERIVATION_SCREEN_TPL";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:1:{s:0:"";s:11:"- Default -";}s:13:"sqlConnection";s:7:"dbarray";s:3:"sql";s:36:"SELECT FILE,NAME FROM _TEMPLATES1 ";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:25:"TAS_DERIVATION_SCREEN_TPL";s:4:"type";s:8:"dropdown";s:5:"label";s:26:"Routing Screen Template ";s:7:"pmLabel";s:26:"Routing Screen Template ";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:1:{s:0:"";s:11:"- Default -";}}s:9:"TAS_START";O:22:"XmlForm_Field_Checkbox":39:{s:8:"required";b:0;s:5:"value";s:4:"TRUE";s:10:"falseValue";s:3:"off";s:12:"labelOnRight";b:0;s:8:"readOnly";b:0;s:4:"name";s:9:"TAS_START";s:4:"type";s:8:"checkbox";s:5:"label";s:13:"Starting task";s:7:"pmLabel";s:13:"Starting task";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";s:1:"1";s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:2:"JS";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:2658:" Pm.tmp.propertiesPanel.events.remove = function() { bFunctionAlreadyAssigned = false; aTaskFlag = [false,false,false,false,false,false,false]; }; /* Initialize panel buttons */ if (!bFunctionAlreadyAssigned) { leimnud.event.add(Pm.tmp.propertiesPanel.elements.statusBarButtons[0], \'click\', function(){ aTaskFlag = [false,false,false,false,false,false]; saveTaskData(getField(\'TAS_UID\').form, getField(\'IFORM\').value, 2); }); leimnud.event.add(Pm.tmp.propertiesPanel.elements.statusBarButtons[1], \'click\', function(){ aTaskFlag = [false,false,false,false,false,false]; Pm.tmp.propertiesPanel.remove(); }); bFunctionAlreadyAssigned = true; } //alert(aTaskFlag); /* Recovery data */ if (aTaskFlag[0]) { getField(\'TAS_TITLE\').value = oTaskData.TAS_TITLE; getField(\'TAS_DESCRIPTION\').value = oTaskData.TAS_DESCRIPTION; getField(\'TAS_START\').checked = (oTaskData.TAS_START == \'TRUE\' ? true : false); getField(\'TAS_PRIORITY_VARIABLE\').value = oTaskData.TAS_PRIORITY_VARIABLE; } else { saveDataTaskTemporal(1); aTaskFlag[0] = true; } var _oVarsPanel_; var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) { _oVarsPanel_ = new leimnud.module.panel(); _oVarsPanel_.options = { limit : true, size : {w:600,h:420}, position : {x:0,y:0,center:true}, title : \'\', theme : \'processmaker\', statusBar: false, control : {drag:false,resize:true,close:true}, fx : {opacity:true,rolled:false,modal:true} }; _oVarsPanel_.make(); _oVarsPanel_.events = { remove:function() { delete _oVarsPanel_; }.extend(this) }; _oVarsPanel_.loader.show(); oRPC = new leimnud.module.rpc.xmlhttp({ url : sAjaxServer, method: \'POST\', args : \'sFieldName=\' + sFieldName + \'&sProcess=\' + sProcess + \'&sSymbol=\' + sSymbol + \'&sNoShowLeyend=1\' }); oRPC.callback = function(oRPC) { _oVarsPanel_.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); _oVarsPanel_.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); }; var insertFormVar = function(sFieldName, sValue) { oAux = document.getElementById(sFieldName); if (oAux.setSelectionRange) { oAux.value = \'\'; var rangeStart = oAux.selectionStart; var rangeEnd = oAux.selectionEnd; var tempStr1 = oAux.value.substring(0,rangeStart); var tempStr2 = oAux.value.substring(rangeEnd); oAux.value = tempStr1 + sValue + tempStr2; } else { if (document.selection) { oAux.focus(); document.selection.createRange().text = sValue; } } _oVarsPanel_.remove(); }; ";s:11:"replaceTags";b:1;s:4:"name";s:2:"JS";s:4:"type";s:10:"javascript";s:5:"label";s:0:"";s:7:"pmLabel";s:0:"";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:0:"";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:0:"";}}' ); $this->values = unserialize( 'a:0:{}' ); $this->action=''; $this->ajaxServer=''; $this->enableTemplate='0'; $this->ajaxSubmit=false; $this->callback='function(){}'; $this->in_progress='function(){}'; $this->template=null; $this->className='formDefault'; $this->objectRequiredFields='[{%27name%27:%27TAS_TITLE%27,%27type%27:%27text%27,%27label%27:%27Title%27,%27validate%27:%27%27,%27required%27:%271%27},{%27name%27:%27TAS_DESCRIPTION%27,%27type%27:%27textarea%27,%27label%27:%27Description%27,%27validate%27:%27%27,%27required%27:%270%27}]'; $this->nextstepsave=''; $this->printdynaform=''; $this->adjustgridswidth='0'; $this->visual_frontend=null; $this->tree = unserialize( 'O:8:"Xml_Node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:2:" ";s:10:"attributes";a:6:{s:4:"name";s:16:"tasks_Definition";s:5:"width";s:3:"99%";s:4:"mode";s:4:"edit";s:6:"border";s:1:"0";s:14:"enableTemplate";s:1:"0";s:6:"height";s:5:"305px";}s:8:"children";a:20:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:7:"PRO_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"Xml_Node":5:{s:4:"name";s:7:"TAS_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}s:8:"children";a:0:{}}i:3;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"Xml_Node":5:{s:4:"name";s:5:"INDEX";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}s:8:"children";a:0:{}}i:5;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"Xml_Node":5:{s:4:"name";s:5:"IFORM";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}s:8:"children";a:0:{}}i:7;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"Xml_Node":5:{s:4:"name";s:9:"TAS_TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:14:{s:4:"type";s:4:"text";s:4:"size";s:2:"50";s:9:"maxlength";s:3:"255";s:12:"defaultvalue";s:0:"";s:8:"required";s:1:"1";s:5:"group";s:1:"1";s:15:"dependentfields";s:0:"";s:9:"linkfield";s:0:"";s:5:"strto";s:0:"";s:8:"readonly";s:1:"0";s:12:"noshowingrid";s:1:"0";s:14:"readonlyingrid";s:1:"0";s:12:"totalizeable";s:1:"0";s:13:"sqlconnection";s:0:"";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Title";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"Xml_Node":5:{s:4:"name";s:15:"TAS_DESCRIPTION";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:5:{s:4:"type";s:8:"textarea";s:8:"required";s:1:"0";s:4:"cols";s:2:"50";s:4:"rows";s:1:"6";s:5:"group";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"Description";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"Xml_Node":5:{s:4:"name";s:21:"TAS_PRIORITY_VARIABLE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:7:{s:4:"type";s:6:"textpm";s:4:"size";s:2:"48";s:9:"maxlength";s:3:"155";s:12:"defaultvalue";s:0:"";s:8:"showVars";s:1:"1";s:7:"process";s:9:"@#PRO_UID";s:5:"group";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:26:"Variable for Case priority";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"Xml_Node":5:{s:4:"name";s:25:"TAS_DERIVATION_SCREEN_TPL";s:4:"type";s:4:"open";s:5:"value";s:39:" SELECT FILE,NAME FROM _TEMPLATES1 ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:7:"dbarray";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:26:"Routing Screen Template ";s:10:"attributes";a:0:{}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:11:"- Default -";s:10:"attributes";a:1:{s:4:"name";s:0:"";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:3:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:15;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"Xml_Node":5:{s:4:"name";s:9:"TAS_START";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:3:{s:4:"type";s:8:"checkbox";s:5:"value";s:4:"TRUE";s:5:"group";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:13:"Starting task";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:17;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"Xml_Node":5:{s:4:"name";s:2:"JS";s:4:"type";s:8:"complete";s:5:"value";s:2658:" Pm.tmp.propertiesPanel.events.remove = function() { bFunctionAlreadyAssigned = false; aTaskFlag = [false,false,false,false,false,false,false]; }; /* Initialize panel buttons */ if (!bFunctionAlreadyAssigned) { leimnud.event.add(Pm.tmp.propertiesPanel.elements.statusBarButtons[0], \'click\', function(){ aTaskFlag = [false,false,false,false,false,false]; saveTaskData(getField(\'TAS_UID\').form, getField(\'IFORM\').value, 2); }); leimnud.event.add(Pm.tmp.propertiesPanel.elements.statusBarButtons[1], \'click\', function(){ aTaskFlag = [false,false,false,false,false,false]; Pm.tmp.propertiesPanel.remove(); }); bFunctionAlreadyAssigned = true; } //alert(aTaskFlag); /* Recovery data */ if (aTaskFlag[0]) { getField(\'TAS_TITLE\').value = oTaskData.TAS_TITLE; getField(\'TAS_DESCRIPTION\').value = oTaskData.TAS_DESCRIPTION; getField(\'TAS_START\').checked = (oTaskData.TAS_START == \'TRUE\' ? true : false); getField(\'TAS_PRIORITY_VARIABLE\').value = oTaskData.TAS_PRIORITY_VARIABLE; } else { saveDataTaskTemporal(1); aTaskFlag[0] = true; } var _oVarsPanel_; var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) { _oVarsPanel_ = new leimnud.module.panel(); _oVarsPanel_.options = { limit : true, size : {w:600,h:420}, position : {x:0,y:0,center:true}, title : \'\', theme : \'processmaker\', statusBar: false, control : {drag:false,resize:true,close:true}, fx : {opacity:true,rolled:false,modal:true} }; _oVarsPanel_.make(); _oVarsPanel_.events = { remove:function() { delete _oVarsPanel_; }.extend(this) }; _oVarsPanel_.loader.show(); oRPC = new leimnud.module.rpc.xmlhttp({ url : sAjaxServer, method: \'POST\', args : \'sFieldName=\' + sFieldName + \'&sProcess=\' + sProcess + \'&sSymbol=\' + sSymbol + \'&sNoShowLeyend=1\' }); oRPC.callback = function(oRPC) { _oVarsPanel_.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); _oVarsPanel_.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); }; var insertFormVar = function(sFieldName, sValue) { oAux = document.getElementById(sFieldName); if (oAux.setSelectionRange) { oAux.value = \'\'; var rangeStart = oAux.selectionStart; var rangeEnd = oAux.selectionEnd; var tempStr1 = oAux.value.substring(0,rangeStart); var tempStr2 = oAux.value.substring(rangeEnd); oAux.value = tempStr1 + sValue + tempStr2; } else { if (document.selection) { oAux.focus(); document.selection.createRange().text = sValue; } } _oVarsPanel_.remove(); }; ";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}s:8:"children";a:0:{}}i:19;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); $this->name='tasks_Definition'; $this->language='en'; $this->version='0.3'; $this->type='xmlform'; $this->sql=null; $this->sqlConnection=null; $this->height='305px'; $this->border='0'; $this->mode='edit'; $this->labelWidth='40%'; $this->onsubmit=''; $this->requiredFields = unserialize( 'a:2:{i:0;a:5:{s:4:"name";s:9:"TAS_TITLE";s:4:"type";s:4:"text";s:5:"label";s:5:"Title";s:8:"validate";s:0:"";s:8:"required";s:1:"1";}i:1;a:5:{s:4:"name";s:15:"TAS_DESCRIPTION";s:4:"type";s:8:"textarea";s:5:"label";s:11:"Description";s:8:"validate";s:0:"";s:8:"required";s:1:"0";}}' ); $this->fieldContentWidth=450; ?>