Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\js\edeal\models\webFormQuestion.js
Models.WebFormQuestion = Models.Value.extend({ classType: "MODELS.WEBFORMQUESTION", postInitialize: function() { }, getAdditionalJSONObject: function() { var bRequired = false; if(this.get("FqtRequired")=="true") { bRequired = true; } var toReturn = { FqtID: this.get("FqtID"), FqtType: this.get("FqtType"), isFqtTypeFRL: function(){if(this.FqtType=="FRL") {return true} else {return false}}, isFqtTypeFRE: function(){if(this.FqtType=="FRE") {return true} else {return false}}, isFqtTypeLST: function(){if(this.FqtType=="LST") {return true} else {return false}}, isFqtTypeREF: function(){if(this.FqtType=="REF") {return true} else {return false}}, isFqtTypePAR: function(){if(this.FqtType=="PAR") {return true} else {return false}}, FqtDispType: this.get("FqtDispType"), isFqtDispTypeCOMBO: function(){if(this.FqtDispType=="COMBO") {return true} else {return false}}, isFqtDispTypeRADIO: function(){if(this.FqtDispType=="RADIO") {return true} else {return false}}, isFqtDispTypeCHECK: function(){if(this.FqtDispType=="CHECK") {return true} else {return false}}, FqtCrDt: this.get("FqtCrDt"), FqtCategory: this.get("FqtCategory"), FqtRequired: bRequired, FqtToBeValidated: this.get("FqtToBeValidated"), FqtHelpText: this.get("FqtHelpText"), FqtLabel: this.get("FqtLabel"), FqtMultivalued: this.get("FqtMultivalued"), FqtAssociatedText: this.get("FqtAssociatedText"), FqtSeqNum: this.get("FqtSeqNum"), FrmWebFooter: this.get("FrmWebFooter"), FrpToken: this.get("FrpToken"), FrmPublicURL: this.get("FrmPublicURL"), FrmSeqNum: this.get("FrmSeqNum"), FqtPossibleValues: JSON.stringify(this.get("FqtPossibleValues")) //FqtPossibleValues: this.get("FqtPossibleValues"), } return toReturn; /*"FqtCrDt":"06\/07\/2012 17:54:49", "FqtCategory":"SATISFACTION", "FqtID":"000000000042592b", "FqtRequired":"false", "FqtAssociatedText":"0", "FqtPossibleValues":[ {"id":"0000000000000797","value":"Lundi"}, {"id":"000000000000079a","value":"Mardi"}, {"id":"000000000000079d","value":"Mercredi"}, {"id":"00000000000007a0","value":"Jeudi"}, {"id":"00000000000007a3","value":"Vendredi"}, {"id":"00000000000007a6","value":"Samedi"}, {"id":"00000000000007a9","value":"Dimanche"} ], "FqtType":"REF","FqtToBeValidated":"false", "FqtCreID":"0000000000000001", "FqtHelpText":"Quel jour de la semaine allez-vous faire vos courses ?", "FqtModID":"0000000000000001", "FqtUpd":"10\/07\/2012 10:51:08", "FqtLabel":"Courses de la semaine", "FqtSeqNum":"606", "FqtDispType":"COMBO", "FqtMultivalued":"false" */ } }); Models.WebFormQuestionCollection = Models.BaseCollection.extend({ classType: "MODELS.WEBFORMQUESTIONCOLLECTION", model: Models.WebFormQuestion });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de