ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.ErrorHandling.InterpreterException ----------------- Skript-Fehler: --------------- 'article.value(...)' ist Null oder kein Objekt --------------- Zeile 8, Spalte 2: if ( article.value("action_url").indexOf("http") == 0 ){ --------------- Datei: C:\Users\Christian\AppData\Local\Zeta Producer 12.5-beta\packaging\widgets\formular\standard.html --------------- Quelltext: 001: function ScriptExecutor635613131329685767() {} 002: 003: 004: ScriptExecutor635613131329685767.prototype.executeScript = function(){ 005: // Start source file: 'C:\Users\Christian\AppData\Local\Zeta Producer 12.5-beta\packaging\widgets\formular\standard.html'. 006: 007: 008: if ( article.value("action_url").indexOf("http") == 0 ){ 009: // action_url starts with "http" and is absolute, so we don't need to find the pathToRoot 010: var action_url = article.value("action_url"); 011: } 012: else { 013: var action_url = page.pathToRoot + article.value("action_url"); 014: } 015: var email_address = system.encrypt(article.value("email_address")); 016: var email_subject = article.value("email_subject"); 017: var error_page_url = ( isNull(project.getPage(article.value("error_page_url"))) ) ? page.absoluteUrl : project.getPage(article.value("error_page_url")).absoluteUrl; 018: var error_page_target = article.value("error_page_target"); 019: var success_page_url = ( isNull(project.getPage(article.value("success_page_url"))) ) ? page.absoluteUrl : project.getPage(article.value("success_page_url")).absoluteUrl; 020: var success_page_target = article.value("success_page_target"); 021: 022: var defaultFieldWidth = 300; 023: 024: 025: context.write("\r\n\r\n"); 026: 027: context.write( system.partial("article-begin.html") ); 028: 029: context.write("\r\n\t"); 030: 031: context.write( system.partial("article-headline.html") ); 032: 033: context.write("\r\n\t\r\n\t
\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\t"); 070: 071: 072: for ( var i = 1; i <= article.value("element-count"); ++i ) { 073: var cssClass = ""; 074: if ( article.value("element-isrequired-" + i) ) { 075: cssClass += "required"; 076: } 077: var fieldWidth = article.value("element-width-" + i); 078: if ( fieldWidth == 0 ) { 079: fieldWidth = defaultFieldWidth; 080: } 081: var elementAttributes = String(article.valueRaw("element-attributes-" + i, "")); 082: var cssInAttribute = ""; 083: if ( elementAttributes.match(/style=\"([^\"]+)\"/i) ) { 084: cssInAttribute = elementAttributes.match(/style=\"([^\"]+)\"/i)[1] || ""; 085: } 086: 087: 088: context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t"); 101: 102: 103: switch (article.value("element-type-" + i)) { 104: // HTML Radio Buttons 105: case "radio": 106: 107: 108: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 117: 118: 119: var checkboxValues = article.value("element-value-" + i).split(";"); 120: var fieldDefault = article.value("element-default-" + i); 121: 122: for ( var ii = 0; ii < checkboxValues.length; ++ii ) { 123: if ( ii > 0 ) { 124: cssClass = ""; //only print required class for first iteration of field 125: } 126: 127: 128: context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); 172: 173: 174: } 175: break; 176: // HTML Checkboxes 177: case "checkbox": 178: 179: 180: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 189: 190: 191: var checkboxValues = article.value("element-value-" + i).split(";"); 192: var fieldDefault = article.value("element-default-" + i); 193: 194: for ( var ii = 0; ii < checkboxValues.length; ++ii ) { 195: if ( ii > 0 ) { 196: cssClass = ""; //only print required class for first iteration of field 197: } 198: 199: 200: context.write("\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t"); 244: 245: 246: } 247: break; 248: // HTML Select List 249: case "select": 250: var selectValues = article.value("element-value-" + i).split(";"); 251: var fieldDefault = article.value("element-default-" + i); 252: var selectSize = "1"; 253: if ( article.value("element-height-" + i) > 1 ) { 254: selectSize = article.value("element-height-" + i); 255: } 256: var selectMultiple = ""; 257: if ( article.value("element-ismultiline-" + i) ) { 258: selectMultiple = "multiple"; 259: } 260: 261: 262: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 315: 316: 317: break; 318: // HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json) 319: case "text": 320: var maxLength = ""; 321: var elementType = "text"; 322: if ( article.value("element-height-" + i) > 0 ) { 323: maxLength = ' maxlength="' + article.value("element-height-" + i) + '"'; 324: } 325: if ( article.value("element-inputtype-" + i) ){ 326: elementType = article.value("element-inputtype-" + i); 327: } 328: 329: 330: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 379: 380: 381: break; 382: // HTML Text-Area 383: case "textarea": 384: 385: 386: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 431: 432: 433: break; 434: // Hidden Text Field - ZP-Type "Zusatztext" 435: case "hidden": 436: 437: 438: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 459: 460: 461: break; 462: // ZP-Type "Beschreibungstext" 463: case "info": 464: 465: 466: context.write("\r\n\t\t\t\t\t"); 467: 468: context.write( article.value("element-value-" + i) ); 469: 470: context.write("\r\n\t\t\t\t\t"); 471: 472: 473: break; 474: // ZP-Type Separator Line 475: case "separator": 476: 477: 478: context.write("\r\n\t\t\t\t\t
 
\t\t\t\t\t\r\n\t\t\t\t\t"); 479: 480: 481: break; 482: // Default fallback HTML input with whatever element-type is passed 483: default: 484: 485: 486: context.write("\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t"); 523: 524: 525: break; 526: } 527: } 528: 529: // show Captcha because the user selected the corresponding form action ends in "SendEmail.php" and not "?sc" 530: var scriptName = "SendEmail.php"; 531: if ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { 532: 533: 534: context.write("\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t"); 535: 536: 537: } 538: else { // show a poor man's anti spam field instead of a captcha. Should this field get a value assigned, we'll discard the mail as spam in the PHP script. 539: 540: 541: context.write("\r\n\t\t\t\r\n\t\t\t"); 542: 543: 544: } 545: 546: 547: 548: context.write("\r\n\t\t\t\r\n\t\t\r\n\t
\r\n\r\n"); 549: 550: context.write( system.partial("article-end.html") ); 551: 552: context.write("\r\n"); 553: // End source file: 'C:\Users\Christian\AppData\Local\Zeta Producer 12.5-beta\packaging\widgets\formular\standard.html'. 554: }; 555: 556: /* Shortcuts. */ 557: article = context.article; 558: page = context.page; 559: projectFolder = context.projectFolder; 560: project = context.project; 561: system = context.system; 562: 563: 564: new ScriptExecutor635613131329685767().executeScript(); ----------------- bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreterHelper.GuardEngineRun(SlimScriptEngine engine, String scriptToExecute, RenderingContext renderingContext, String runString) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreter.doRun(RenderingContext renderingContext, String runString) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreter.Run(RenderingContext renderingContext, String runString) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.HighLevel.RenderingScriptProcessor.Process(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Macros.RenderingScriptingMacrosNew.doProcess(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Macros.RenderingScriptingMacrosNew.Process(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Core.RenderingDispatcher.doProcess(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Core.RenderingDispatcher.Process(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Dom.WebArticleScriptObject.doDispatch(String textToProcess, String filePath, WebArticle article) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Dom.WebArticleScriptObject.render() InterpreterException { ErrorDetailsWithStack="\\'article.value(...)\\' ist Null oder kein Objekt", CompleteSourceTextWithHiddenRegions="001: function ScriptExecutor635613131329685767() {}\\r\\n002: \\r\\n003: \\r\\n004: ScriptExecutor635613131329685767.prototype.executeScript = function(){\\r\\n005: // Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n006: \\r\\n007: \\r\\n008: \\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){\\r\\n009: \\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot\\r\\n010: \\t\\tvar action_url = article.value(\\"action_url\\");\\r\\n011: \\t}\\r\\n012: \\telse {\\r\\n013: \\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");\\r\\n014: \\t}\\r\\n015: \\tvar email_address = system.encrypt(article.value(\\"email_address\\"));\\r\\n016: \\tvar email_subject = article.value(\\"email_subject\\");\\r\\n017: \\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;\\r\\n018: \\tvar error_page_target = article.value(\\"error_page_target\\");\\r\\n019: \\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;\\r\\n020: \\tvar success_page_target = article.value(\\"success_page_target\\");\\r\\n021: \\r\\n022: \\tvar defaultFieldWidth = 300;\\r\\n023: \\r\\n024: \\r\\n025: context.write(\\"\\r\\n\\r\\n\\");\\r\\n026: \\r\\n027: context.write( system.partial(\\"article-begin.html\\") );\\r\\n028: \\r\\n029: context.write(\\"\\r\\n\\t\\");\\r\\n030: \\r\\n031: context.write( system.partial(\\"article-headline.html\\") );\\r\\n032: \\r\\n033: context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");\\r\\n070: \\r\\n071: \\r\\n072: \\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { \\r\\n073: \\t\\t\\tvar cssClass = \\"\\";\\r\\n074: \\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {\\r\\n075: \\t\\t\\t\\tcssClass += \\"required\\";\\r\\n076: \\t\\t\\t}\\r\\n077: \\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);\\r\\n078: \\t\\t\\tif ( fieldWidth == 0 ) {\\r\\n079: \\t\\t\\t\\tfieldWidth = defaultFieldWidth;\\r\\n080: \\t\\t\\t}\\r\\n081: \\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));\\r\\n082: \\t\\t\\tvar cssInAttribute = \\"\\";\\r\\n083: \\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {\\r\\n084: \\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";\\r\\n085: \\t\\t\\t}\\r\\n086: \\t\\t\\t \\r\\n087: \\r\\n088: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n101: \\r\\n102: \\r\\n103: \\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {\\r\\n104: \\t\\t\\t\\t// HTML Radio Buttons\\r\\n105: \\t\\t\\t\\tcase \\"radio\\":\\r\\n106: \\t\\t\\t\\t\\t \\r\\n107: \\r\\n108: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n117: \\r\\n118: \\r\\n119: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n120: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n121: \\t\\t\\r\\n122: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n123: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n124: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n125: \\t\\t\\t\\t\\t\\t}\\r\\n126: \\t\\t\\t\\t\\t \\r\\n127: \\r\\n128: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n172: \\r\\n173: \\r\\n174: \\t\\t\\t\\t\\t}\\r\\n175: \\t\\t\\t\\t\\tbreak;\\r\\n176: \\t\\t\\t\\t// HTML Checkboxes \\r\\n177: \\t\\t\\t\\tcase \\"checkbox\\":\\r\\n178: \\t\\t\\t\\t\\t \\r\\n179: \\r\\n180: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n189: \\r\\n190: \\r\\n191: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n192: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n193: \\t\\t\\t\\t\\t\\r\\n194: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n195: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n196: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n197: \\t\\t\\t\\t\\t\\t}\\r\\n198: \\t\\t\\t\\t\\t \\r\\n199: \\r\\n200: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n244: \\r\\n245: \\r\\n246: \\t\\t\\t\\t\\t}\\r\\n247: \\t\\t\\t\\t\\tbreak;\\r\\n248: \\t\\t\\t\\t// HTML Select List\\r\\n249: \\t\\t\\t\\tcase \\"select\\":\\r\\n250: \\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n251: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n252: \\t\\t\\t\\t\\tvar selectSize = \\"1\\";\\r\\n253: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {\\r\\n254: \\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);\\r\\n255: \\t\\t\\t\\t\\t}\\r\\n256: \\t\\t\\t\\t\\tvar selectMultiple = \\"\\";\\r\\n257: \\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {\\r\\n258: \\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";\\r\\n259: \\t\\t\\t\\t\\t}\\r\\n260: \\t\\t\\t\\t\\t \\r\\n261: \\r\\n262: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n315: \\r\\n316: \\r\\n317: \\t\\t\\t\\t\\tbreak;\\r\\n318: \\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)\\r\\n319: \\t\\t\\t\\tcase \\"text\\":\\r\\n320: \\t\\t\\t\\t\\tvar maxLength = \\"\\";\\r\\n321: \\t\\t\\t\\t\\tvar elementType = \\"text\\";\\r\\n322: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {\\r\\n323: \\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';\\r\\n324: \\t\\t\\t\\t\\t}\\r\\n325: \\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){\\r\\n326: \\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);\\r\\n327: \\t\\t\\t\\t\\t}\\r\\n328: \\t\\t\\t\\t\\t \\r\\n329: \\r\\n330: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n379: \\r\\n380: \\r\\n381: \\t\\t\\t\\t\\tbreak;\\r\\n382: \\t\\t\\t\\t// HTML Text-Area\\r\\n383: \\t\\t\\t\\tcase \\"textarea\\":\\r\\n384: \\t\\t\\t\\t\\t \\r\\n385: \\r\\n386: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n431: \\r\\n432: \\r\\n433: \\t\\t\\t\\t\\tbreak;\\r\\n434: \\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"\\r\\n435: \\t\\t\\t\\tcase \\"hidden\\":\\r\\n436: \\t\\t\\t\\t\\t \\r\\n437: \\r\\n438: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n459: \\r\\n460: \\r\\n461: \\t\\t\\t\\t\\tbreak;\\r\\n462: \\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"\\r\\n463: \\t\\t\\t\\tcase \\"info\\":\\r\\n464: \\t\\t\\t\\t\\t \\r\\n465: \\r\\n466: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n467: \\r\\n468: context.write( article.value(\\"element-value-\\" + i) );\\r\\n469: \\r\\n470: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n471: \\r\\n472: \\r\\n473: \\t\\t\\t\\t\\tbreak;\\r\\n474: \\t\\t\\t\\t// ZP-Type Separator Line\\r\\n475: \\t\\t\\t\\tcase \\"separator\\":\\r\\n476: \\t\\t\\t\\t\\t \\r\\n477: \\r\\n478: context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n479: \\r\\n480: \\r\\n481: \\t\\t\\t\\t\\tbreak;\\r\\n482: \\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed\\r\\n483: \\t\\t\\t\\tdefault:\\r\\n484: \\t\\t\\t\\t\\t \\r\\n485: \\r\\n486: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n523: \\r\\n524: \\t\\r\\n525: \\t\\t\\t\\t\\tbreak;\\r\\n526: \\t\\t\\t}\\r\\n527: \\t\\t} \\r\\n528: \\t\\t\\r\\n529: \\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"\\r\\n530: \\t\\tvar scriptName = \\"SendEmail.php\\";\\r\\n531: \\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { \\r\\n532: \\t\\t \\r\\n533: \\r\\n534: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n535: \\r\\n536: \\r\\n537: \\t\\t}\\r\\n538: \\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.\\r\\n539: \\t\\t\\t \\r\\n540: \\r\\n541: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n542: \\r\\n543: \\r\\n544: \\t\\t}\\r\\n545: \\t\\t\\r\\n546: \\t\\t \\r\\n547: \\r\\n548: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");\\r\\n549: \\r\\n550: context.write( system.partial(\\"article-end.html\\") );\\r\\n551: \\r\\n552: context.write(\\"\\r\\n\\");\\r\\n553: // End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n554: };\\r\\n555: \\r\\n556: /* Shortcuts. */\\r\\n557: article = context.article;\\r\\n558: page = context.page;\\r\\n559: projectFolder = context.projectFolder;\\r\\n560: project = context.project;\\r\\n561: system = context.system;\\r\\n562: \\r\\n563: \\r\\n564: new ScriptExecutor635613131329685767().executeScript();\\r\\n", CompleteSourceText="001: function ScriptExecutor635613131329685767() {}\\r\\n002: \\r\\n003: \\r\\n004: ScriptExecutor635613131329685767.prototype.executeScript = function(){\\r\\n005: // Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n006: \\r\\n007: \\r\\n008: \\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){\\r\\n009: \\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot\\r\\n010: \\t\\tvar action_url = article.value(\\"action_url\\");\\r\\n011: \\t}\\r\\n012: \\telse {\\r\\n013: \\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");\\r\\n014: \\t}\\r\\n015: \\tvar email_address = system.encrypt(article.value(\\"email_address\\"));\\r\\n016: \\tvar email_subject = article.value(\\"email_subject\\");\\r\\n017: \\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;\\r\\n018: \\tvar error_page_target = article.value(\\"error_page_target\\");\\r\\n019: \\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;\\r\\n020: \\tvar success_page_target = article.value(\\"success_page_target\\");\\r\\n021: \\r\\n022: \\tvar defaultFieldWidth = 300;\\r\\n023: \\r\\n024: \\r\\n025: context.write(\\"\\r\\n\\r\\n\\");\\r\\n026: \\r\\n027: context.write( system.partial(\\"article-begin.html\\") );\\r\\n028: \\r\\n029: context.write(\\"\\r\\n\\t\\");\\r\\n030: \\r\\n031: context.write( system.partial(\\"article-headline.html\\") );\\r\\n032: \\r\\n033: context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");\\r\\n070: \\r\\n071: \\r\\n072: \\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { \\r\\n073: \\t\\t\\tvar cssClass = \\"\\";\\r\\n074: \\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {\\r\\n075: \\t\\t\\t\\tcssClass += \\"required\\";\\r\\n076: \\t\\t\\t}\\r\\n077: \\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);\\r\\n078: \\t\\t\\tif ( fieldWidth == 0 ) {\\r\\n079: \\t\\t\\t\\tfieldWidth = defaultFieldWidth;\\r\\n080: \\t\\t\\t}\\r\\n081: \\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));\\r\\n082: \\t\\t\\tvar cssInAttribute = \\"\\";\\r\\n083: \\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {\\r\\n084: \\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";\\r\\n085: \\t\\t\\t}\\r\\n086: \\t\\t\\t \\r\\n087: \\r\\n088: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n101: \\r\\n102: \\r\\n103: \\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {\\r\\n104: \\t\\t\\t\\t// HTML Radio Buttons\\r\\n105: \\t\\t\\t\\tcase \\"radio\\":\\r\\n106: \\t\\t\\t\\t\\t \\r\\n107: \\r\\n108: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n117: \\r\\n118: \\r\\n119: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n120: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n121: \\t\\t\\r\\n122: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n123: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n124: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n125: \\t\\t\\t\\t\\t\\t}\\r\\n126: \\t\\t\\t\\t\\t \\r\\n127: \\r\\n128: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n172: \\r\\n173: \\r\\n174: \\t\\t\\t\\t\\t}\\r\\n175: \\t\\t\\t\\t\\tbreak;\\r\\n176: \\t\\t\\t\\t// HTML Checkboxes \\r\\n177: \\t\\t\\t\\tcase \\"checkbox\\":\\r\\n178: \\t\\t\\t\\t\\t \\r\\n179: \\r\\n180: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n189: \\r\\n190: \\r\\n191: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n192: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n193: \\t\\t\\t\\t\\t\\r\\n194: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n195: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n196: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n197: \\t\\t\\t\\t\\t\\t}\\r\\n198: \\t\\t\\t\\t\\t \\r\\n199: \\r\\n200: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n244: \\r\\n245: \\r\\n246: \\t\\t\\t\\t\\t}\\r\\n247: \\t\\t\\t\\t\\tbreak;\\r\\n248: \\t\\t\\t\\t// HTML Select List\\r\\n249: \\t\\t\\t\\tcase \\"select\\":\\r\\n250: \\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n251: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n252: \\t\\t\\t\\t\\tvar selectSize = \\"1\\";\\r\\n253: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {\\r\\n254: \\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);\\r\\n255: \\t\\t\\t\\t\\t}\\r\\n256: \\t\\t\\t\\t\\tvar selectMultiple = \\"\\";\\r\\n257: \\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {\\r\\n258: \\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";\\r\\n259: \\t\\t\\t\\t\\t}\\r\\n260: \\t\\t\\t\\t\\t \\r\\n261: \\r\\n262: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n315: \\r\\n316: \\r\\n317: \\t\\t\\t\\t\\tbreak;\\r\\n318: \\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)\\r\\n319: \\t\\t\\t\\tcase \\"text\\":\\r\\n320: \\t\\t\\t\\t\\tvar maxLength = \\"\\";\\r\\n321: \\t\\t\\t\\t\\tvar elementType = \\"text\\";\\r\\n322: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {\\r\\n323: \\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';\\r\\n324: \\t\\t\\t\\t\\t}\\r\\n325: \\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){\\r\\n326: \\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);\\r\\n327: \\t\\t\\t\\t\\t}\\r\\n328: \\t\\t\\t\\t\\t \\r\\n329: \\r\\n330: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n379: \\r\\n380: \\r\\n381: \\t\\t\\t\\t\\tbreak;\\r\\n382: \\t\\t\\t\\t// HTML Text-Area\\r\\n383: \\t\\t\\t\\tcase \\"textarea\\":\\r\\n384: \\t\\t\\t\\t\\t \\r\\n385: \\r\\n386: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n431: \\r\\n432: \\r\\n433: \\t\\t\\t\\t\\tbreak;\\r\\n434: \\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"\\r\\n435: \\t\\t\\t\\tcase \\"hidden\\":\\r\\n436: \\t\\t\\t\\t\\t \\r\\n437: \\r\\n438: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n459: \\r\\n460: \\r\\n461: \\t\\t\\t\\t\\tbreak;\\r\\n462: \\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"\\r\\n463: \\t\\t\\t\\tcase \\"info\\":\\r\\n464: \\t\\t\\t\\t\\t \\r\\n465: \\r\\n466: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n467: \\r\\n468: context.write( article.value(\\"element-value-\\" + i) );\\r\\n469: \\r\\n470: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n471: \\r\\n472: \\r\\n473: \\t\\t\\t\\t\\tbreak;\\r\\n474: \\t\\t\\t\\t// ZP-Type Separator Line\\r\\n475: \\t\\t\\t\\tcase \\"separator\\":\\r\\n476: \\t\\t\\t\\t\\t \\r\\n477: \\r\\n478: context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n479: \\r\\n480: \\r\\n481: \\t\\t\\t\\t\\tbreak;\\r\\n482: \\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed\\r\\n483: \\t\\t\\t\\tdefault:\\r\\n484: \\t\\t\\t\\t\\t \\r\\n485: \\r\\n486: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n523: \\r\\n524: \\t\\r\\n525: \\t\\t\\t\\t\\tbreak;\\r\\n526: \\t\\t\\t}\\r\\n527: \\t\\t} \\r\\n528: \\t\\t\\r\\n529: \\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"\\r\\n530: \\t\\tvar scriptName = \\"SendEmail.php\\";\\r\\n531: \\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { \\r\\n532: \\t\\t \\r\\n533: \\r\\n534: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n535: \\r\\n536: \\r\\n537: \\t\\t}\\r\\n538: \\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.\\r\\n539: \\t\\t\\t \\r\\n540: \\r\\n541: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n542: \\r\\n543: \\r\\n544: \\t\\t}\\r\\n545: \\t\\t\\r\\n546: \\t\\t \\r\\n547: \\r\\n548: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");\\r\\n549: \\r\\n550: context.write( system.partial(\\"article-end.html\\") );\\r\\n551: \\r\\n552: context.write(\\"\\r\\n\\");\\r\\n553: // End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n554: };\\r\\n555: \\r\\n556: /* Shortcuts. */\\r\\n557: article = context.article;\\r\\n558: page = context.page;\\r\\n559: projectFolder = context.projectFolder;\\r\\n560: project = context.project;\\r\\n561: system = context.system;\\r\\n562: \\r\\n563: \\r\\n564: new ScriptExecutor635613131329685767().executeScript();", CompleteSourceLines=String[] { Length=564, LongLength=564, Rank=1, , IsReadOnly=False, IsFixedSize=True, IsSynchronized=False "001: function ScriptExecutor635613131329685767() {}", "002: ", "003: ", "004: ScriptExecutor635613131329685767.prototype.executeScript = function(){", "005: // Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.", "006: ", "007: ", "008: \\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){", "009: \\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot", "010: \\t\\tvar action_url = article.value(\\"action_url\\");", "011: \\t}", "012: \\telse {", "013: \\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");", "014: \\t}", "015: \\tvar email_address = system.encrypt(article.value(\\"email_address\\"));", "016: \\tvar email_subject = article.value(\\"email_subject\\");", "017: \\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;", "018: \\tvar error_page_target = article.value(\\"error_page_target\\");", "019: \\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;", "020: \\tvar success_page_target = article.value(\\"success_page_target\\");", "021: ", "022: \\tvar defaultFieldWidth = 300;", "023: ", "024: ", "025: context.write(\\"\\r\\n\\r\\n\\");", "026: ", "027: context.write( system.partial(\\"article-begin.html\\") );", "028: ", "029: context.write(\\"\\r\\n\\t\\");", "030: ", "031: context.write( system.partial(\\"article-headline.html\\") );", "032: ", "033: context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");", "070: ", "071: ", "072: \\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { ", "073: \\t\\t\\tvar cssClass = \\"\\";", "074: \\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {", "075: \\t\\t\\t\\tcssClass += \\"required\\";", "076: \\t\\t\\t}", "077: \\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);", "078: \\t\\t\\tif ( fieldWidth == 0 ) {", "079: \\t\\t\\t\\tfieldWidth = defaultFieldWidth;", "080: \\t\\t\\t}", "081: \\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));", "082: \\t\\t\\tvar cssInAttribute = \\"\\";", "083: \\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {", "084: \\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";", "085: \\t\\t\\t}", "086: \\t\\t\\t ", "087: ", "088: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");", "101: ", "102: ", "103: \\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {", "104: \\t\\t\\t\\t// HTML Radio Buttons", "105: \\t\\t\\t\\tcase \\"radio\\":", "106: \\t\\t\\t\\t\\t ", "107: ", "108: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "117: ", "118: ", "119: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");", "120: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);", "121: \\t\\t", "122: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {", "123: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {", "124: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field ", "125: \\t\\t\\t\\t\\t\\t}", "126: \\t\\t\\t\\t\\t ", "127: ", "128: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "172: ", "173: ", "174: \\t\\t\\t\\t\\t}", "175: \\t\\t\\t\\t\\tbreak;", "176: \\t\\t\\t\\t// HTML Checkboxes ", "177: \\t\\t\\t\\tcase \\"checkbox\\":", "178: \\t\\t\\t\\t\\t ", "179: ", "180: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "189: ", "190: ", "191: \\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");", "192: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);", "193: \\t\\t\\t\\t\\t", "194: \\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {", "195: \\t\\t\\t\\t\\t\\tif ( ii > 0 ) {", "196: \\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field ", "197: \\t\\t\\t\\t\\t\\t}", "198: \\t\\t\\t\\t\\t ", "199: ", "200: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "244: ", "245: ", "246: \\t\\t\\t\\t\\t}", "247: \\t\\t\\t\\t\\tbreak;", "248: \\t\\t\\t\\t// HTML Select List", "249: \\t\\t\\t\\tcase \\"select\\":", "250: \\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");", "251: \\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);", "252: \\t\\t\\t\\t\\tvar selectSize = \\"1\\";", "253: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {", "254: \\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);", "255: \\t\\t\\t\\t\\t}", "256: \\t\\t\\t\\t\\tvar selectMultiple = \\"\\";", "257: \\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {", "258: \\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";", "259: \\t\\t\\t\\t\\t}", "260: \\t\\t\\t\\t\\t ", "261: ", "262: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "315: ", "316: ", "317: \\t\\t\\t\\t\\tbreak;", "318: \\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)", "319: \\t\\t\\t\\tcase \\"text\\":", "320: \\t\\t\\t\\t\\tvar maxLength = \\"\\";", "321: \\t\\t\\t\\t\\tvar elementType = \\"text\\";", "322: \\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {", "323: \\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';", "324: \\t\\t\\t\\t\\t}", "325: \\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){", "326: \\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);", "327: \\t\\t\\t\\t\\t}", "328: \\t\\t\\t\\t\\t ", "329: ", "330: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "379: ", "380: ", "381: \\t\\t\\t\\t\\tbreak;", "382: \\t\\t\\t\\t// HTML Text-Area", "383: \\t\\t\\t\\tcase \\"textarea\\":", "384: \\t\\t\\t\\t\\t ", "385: ", "386: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "431: ", "432: ", "433: \\t\\t\\t\\t\\tbreak;", "434: \\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"", "435: \\t\\t\\t\\tcase \\"hidden\\":", "436: \\t\\t\\t\\t\\t ", "437: ", "438: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "459: ", "460: ", "461: \\t\\t\\t\\t\\tbreak;", "462: \\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"", "463: \\t\\t\\t\\tcase \\"info\\":", "464: \\t\\t\\t\\t\\t ", "465: ", "466: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");", "467: ", "468: context.write( article.value(\\"element-value-\\" + i) );", "469: ", "470: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");", "471: ", "472: ", "473: \\t\\t\\t\\t\\tbreak;", "474: \\t\\t\\t\\t// ZP-Type Separator Line", "475: \\t\\t\\t\\tcase \\"separator\\":", "476: \\t\\t\\t\\t\\t ", "477: ", "478: context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "479: ", "480: ", "481: \\t\\t\\t\\t\\tbreak;", "482: \\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed", "483: \\t\\t\\t\\tdefault:", "484: \\t\\t\\t\\t\\t ", "485: ", "486: context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");", "523: ", "524: \\t", "525: \\t\\t\\t\\t\\tbreak;", "526: \\t\\t\\t}", "527: \\t\\t} ", "528: \\t\\t", "529: \\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"", "530: \\t\\tvar scriptName = \\"SendEmail.php\\";", "531: \\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { ", "532: \\t\\t ", "533: ", "534: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");", "535: ", "536: ", "537: \\t\\t}", "538: \\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.", "539: \\t\\t\\t ", "540: ", "541: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");", "542: ", "543: ", "544: \\t\\t}", "545: \\t\\t", "546: \\t\\t ", "547: ", "548: context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");", "549: ", "550: context.write( system.partial(\\"article-end.html\\") );", "551: ", "552: context.write(\\"\\r\\n\\");", "553: // End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.", "554: };", "555: ", "556: /* Shortcuts. */", "557: article = context.article;", "558: page = context.page;", "559: projectFolder = context.projectFolder;", "560: project = context.project;", "561: system = context.system;", "562: ", "563: ", "564: new ScriptExecutor635613131329685767().executeScript();" }, LineNumber=7, ColumnNumber=1, SourceLine="\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){", Description="\\'article.value(...)\\' ist Null oder kein Objekt", SourceFilePath="C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html", Message="\\'article.value(...)\\' ist Null oder kein Objekt", Data= [ ] , InnerException=SlimScriptEngineException { ExcepInfo=EXCEPINFO { }, Description="\\'article.value(...)\\' ist Null oder kein Objekt", LineNumber=7, ColumnNumber=1, SourceLine="\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){", FullSourceCode="function ScriptExecutor635613131329685767() {}\\r\\n\\r\\n\\r\\nScriptExecutor635613131329685767.prototype.executeScript = function(){\\r\\n// Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n\\r\\n\\r\\n\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){\\r\\n\\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot\\r\\n\\t\\tvar action_url = article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\telse {\\r\\n\\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\tvar email_address = system.encrypt(article.value(\\"email_address\\"));\\r\\n\\tvar email_subject = article.value(\\"email_subject\\");\\r\\n\\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;\\r\\n\\tvar error_page_target = article.value(\\"error_page_target\\");\\r\\n\\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;\\r\\n\\tvar success_page_target = article.value(\\"success_page_target\\");\\r\\n\\r\\n\\tvar defaultFieldWidth = 300;\\r\\n \\r\\n\\r\\n context.write(\\"\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-begin.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-headline.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { \\r\\n\\t\\t\\tvar cssClass = \\"\\";\\r\\n\\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {\\r\\n\\t\\t\\t\\tcssClass += \\"required\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);\\r\\n\\t\\t\\tif ( fieldWidth == 0 ) {\\r\\n\\t\\t\\t\\tfieldWidth = defaultFieldWidth;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));\\r\\n\\t\\t\\tvar cssInAttribute = \\"\\";\\r\\n\\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {\\r\\n\\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {\\r\\n\\t\\t\\t\\t// HTML Radio Buttons\\r\\n\\t\\t\\t\\tcase \\"radio\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Checkboxes \\r\\n\\t\\t\\t\\tcase \\"checkbox\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Select List\\r\\n\\t\\t\\t\\tcase \\"select\\":\\r\\n\\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\tvar selectSize = \\"1\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {\\r\\n\\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tvar selectMultiple = \\"\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {\\r\\n\\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)\\r\\n\\t\\t\\t\\tcase \\"text\\":\\r\\n\\t\\t\\t\\t\\tvar maxLength = \\"\\";\\r\\n\\t\\t\\t\\t\\tvar elementType = \\"text\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){\\r\\n\\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Text-Area\\r\\n\\t\\t\\t\\tcase \\"textarea\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"\\r\\n\\t\\t\\t\\tcase \\"hidden\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"\\r\\n\\t\\t\\t\\tcase \\"info\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\ncontext.write( article.value(\\"element-value-\\" + i) );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type Separator Line\\r\\n\\t\\t\\t\\tcase \\"separator\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed\\r\\n\\t\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t}\\r\\n\\t\\t} \\r\\n\\t\\t\\r\\n\\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"\\r\\n\\t\\tvar scriptName = \\"SendEmail.php\\";\\r\\n\\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { \\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-end.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\");\\r\\n// End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n};\\r\\n\\r\\n/* Shortcuts. */\\r\\narticle = context.article;\\r\\npage = context.page;\\r\\nprojectFolder = context.projectFolder;\\r\\nproject = context.project;\\r\\nsystem = context.system;\\r\\n\\r\\n\\r\\nnew ScriptExecutor635613131329685767().executeScript();\\r\\n", SourceContext=0, Message="\\'article.value(...)\\' ist Null oder kein Objekt", Data= [ "COM Exception" = COMException { ErrorCode=-2147352319, Message="Ausnahme von HRESULT: 0x80020101", Data= [ ] , InnerException=null, TargetSite=RuntimeMethodInfo: ParseScriptText, StackTrace=" bei ZetaProducer.SuperSlimScriptingEngine.Infrastructure.IActiveScriptParse32.ParseScriptText(String code, String itemName, Object context, String delimiter, IntPtr sourceContextCookie, UInt32 startingLineNumber, ScriptText flags, IntPtr result, EXCEPINFO& exceptionInfo)\\r\\n bei ZetaProducer.SuperSlimScriptingEngine.SlimScriptEngine.doExecute(String script)", HelpLink=null, Source="ZetaProducer.SuperSlimScriptingEngine", HResult=-2147352319 } ] , InnerException=null, TargetSite=RuntimeMethodInfo: doExecute, StackTrace=" bei ZetaProducer.SuperSlimScriptingEngine.SlimScriptEngine.doExecute(String script)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreterHelper.GuardEngineRun(SlimScriptEngine engine, String scriptToExecute, RenderingContext renderingContext, String runString)", HelpLink=null, Source="ActiveScriptSite.ScriptError", HResult=-2146233088 }, TargetSite=RuntimeMethodInfo: GuardEngineRun, StackTrace=" bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreterHelper.GuardEngineRun(SlimScriptEngine engine, String scriptToExecute, RenderingContext renderingContext, String runString)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreter.doRun(RenderingContext renderingContext, String runString)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreter.Run(RenderingContext renderingContext, String runString)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.HighLevel.RenderingScriptProcessor.Process(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Macros.RenderingScriptingMacrosNew.doProcess(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Macros.RenderingScriptingMacrosNew.Process(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Core.RenderingDispatcher.doProcess(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Core.RenderingDispatcher.Process(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Dom.WebArticleScriptObject.doDispatch(String textToProcess, String filePath, WebArticle article)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Dom.WebArticleScriptObject.render()", HelpLink=null, Source="function ScriptExecutor635613131329685767() {}\\r\\n\\r\\n\\r\\nScriptExecutor635613131329685767.prototype.executeScript = function(){\\r\\n// Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n\\r\\n\\r\\n\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){\\r\\n\\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot\\r\\n\\t\\tvar action_url = article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\telse {\\r\\n\\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\tvar email_address = system.encrypt(article.value(\\"email_address\\"));\\r\\n\\tvar email_subject = article.value(\\"email_subject\\");\\r\\n\\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;\\r\\n\\tvar error_page_target = article.value(\\"error_page_target\\");\\r\\n\\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;\\r\\n\\tvar success_page_target = article.value(\\"success_page_target\\");\\r\\n\\r\\n\\tvar defaultFieldWidth = 300;\\r\\n \\r\\n\\r\\n context.write(\\"\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-begin.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-headline.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { \\r\\n\\t\\t\\tvar cssClass = \\"\\";\\r\\n\\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {\\r\\n\\t\\t\\t\\tcssClass += \\"required\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);\\r\\n\\t\\t\\tif ( fieldWidth == 0 ) {\\r\\n\\t\\t\\t\\tfieldWidth = defaultFieldWidth;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));\\r\\n\\t\\t\\tvar cssInAttribute = \\"\\";\\r\\n\\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {\\r\\n\\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {\\r\\n\\t\\t\\t\\t// HTML Radio Buttons\\r\\n\\t\\t\\t\\tcase \\"radio\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Checkboxes \\r\\n\\t\\t\\t\\tcase \\"checkbox\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Select List\\r\\n\\t\\t\\t\\tcase \\"select\\":\\r\\n\\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\tvar selectSize = \\"1\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {\\r\\n\\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tvar selectMultiple = \\"\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {\\r\\n\\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)\\r\\n\\t\\t\\t\\tcase \\"text\\":\\r\\n\\t\\t\\t\\t\\tvar maxLength = \\"\\";\\r\\n\\t\\t\\t\\t\\tvar elementType = \\"text\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){\\r\\n\\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Text-Area\\r\\n\\t\\t\\t\\tcase \\"textarea\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"\\r\\n\\t\\t\\t\\tcase \\"hidden\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"\\r\\n\\t\\t\\t\\tcase \\"info\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\ncontext.write( article.value(\\"element-value-\\" + i) );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type Separator Line\\r\\n\\t\\t\\t\\tcase \\"separator\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed\\r\\n\\t\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t}\\r\\n\\t\\t} \\r\\n\\t\\t\\r\\n\\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"\\r\\n\\t\\tvar scriptName = \\"SendEmail.php\\";\\r\\n\\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { \\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-end.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\");\\r\\n// End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n};\\r\\n\\r\\n/* Shortcuts. */\\r\\narticle = context.article;\\r\\npage = context.page;\\r\\nprojectFolder = context.projectFolder;\\r\\nproject = context.project;\\r\\nsystem = context.system;\\r\\n\\r\\n\\r\\nnew ScriptExecutor635613131329685767().executeScript();\\r\\n", HResult=-2146233088 } -->'article.value(...)' ist Null oder kein ObjektZetaProducer.SuperSlimScriptingEngine.SlimScriptEngineException ----------------- 'article.value(...)' ist Null oder kein Objekt ----------------- bei ZetaProducer.SuperSlimScriptingEngine.SlimScriptEngine.doExecute(String script) bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreterHelper.GuardEngineRun(SlimScriptEngine engine, String scriptToExecute, RenderingContext renderingContext, String runString) SlimScriptEngineException { ExcepInfo=EXCEPINFO { }, Description="\\'article.value(...)\\' ist Null oder kein Objekt", LineNumber=7, ColumnNumber=1, SourceLine="\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){", FullSourceCode="function ScriptExecutor635613131329685767() {}\\r\\n\\r\\n\\r\\nScriptExecutor635613131329685767.prototype.executeScript = function(){\\r\\n// Start source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n\\r\\n\\r\\n\\tif ( article.value(\\"action_url\\").indexOf(\\"http\\") == 0 ){\\r\\n\\t\\t// action_url starts with \\"http\\" and is absolute, so we don\\'t need to find the pathToRoot\\r\\n\\t\\tvar action_url = article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\telse {\\r\\n\\t\\tvar action_url = page.pathToRoot + article.value(\\"action_url\\");\\r\\n\\t}\\r\\n\\tvar email_address = system.encrypt(article.value(\\"email_address\\"));\\r\\n\\tvar email_subject = article.value(\\"email_subject\\");\\r\\n\\tvar error_page_url = ( isNull(project.getPage(article.value(\\"error_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"error_page_url\\")).absoluteUrl;\\r\\n\\tvar error_page_target = article.value(\\"error_page_target\\");\\r\\n\\tvar success_page_url = ( isNull(project.getPage(article.value(\\"success_page_url\\"))) ) ? page.absoluteUrl : project.getPage(article.value(\\"success_page_url\\")).absoluteUrl;\\r\\n\\tvar success_page_target = article.value(\\"success_page_target\\");\\r\\n\\r\\n\\tvar defaultFieldWidth = 300;\\r\\n \\r\\n\\r\\n context.write(\\"\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-begin.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-headline.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\r\\n\\t
\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\tfor ( var i = 1; i <= article.value(\\"element-count\\"); ++i ) { \\r\\n\\t\\t\\tvar cssClass = \\"\\";\\r\\n\\t\\t\\tif ( article.value(\\"element-isrequired-\\" + i) ) {\\r\\n\\t\\t\\t\\tcssClass += \\"required\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar fieldWidth = article.value(\\"element-width-\\" + i);\\r\\n\\t\\t\\tif ( fieldWidth == 0 ) {\\r\\n\\t\\t\\t\\tfieldWidth = defaultFieldWidth;\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\tvar elementAttributes = String(article.valueRaw(\\"element-attributes-\\" + i, \\"\\"));\\r\\n\\t\\t\\tvar cssInAttribute = \\"\\";\\r\\n\\t\\t\\tif ( elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i) ) {\\r\\n\\t\\t\\t\\tcssInAttribute = elementAttributes.match(/style=\\\\"([^\\\\"]+)\\\\"/i)[1] || \\"\\";\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\tswitch (article.value(\\"element-type-\\" + i)) {\\r\\n\\t\\t\\t\\t// HTML Radio Buttons\\r\\n\\t\\t\\t\\tcase \\"radio\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Checkboxes \\r\\n\\t\\t\\t\\tcase \\"checkbox\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tvar checkboxValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tfor ( var ii = 0; ii < checkboxValues.length; ++ii ) {\\r\\n\\t\\t\\t\\t\\t\\tif ( ii > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\t\\tcssClass = \\"\\"; //only print required class for first iteration of field \\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Select List\\r\\n\\t\\t\\t\\tcase \\"select\\":\\r\\n\\t\\t\\t\\t\\tvar selectValues = article.value(\\"element-value-\\" + i).split(\\";\\");\\r\\n\\t\\t\\t\\t\\tvar fieldDefault = article.value(\\"element-default-\\" + i);\\r\\n\\t\\t\\t\\t\\tvar selectSize = \\"1\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 1 ) {\\r\\n\\t\\t\\t\\t\\t\\tselectSize = article.value(\\"element-height-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tvar selectMultiple = \\"\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-ismultiline-\\" + i) ) {\\r\\n\\t\\t\\t\\t\\t\\tselectMultiple = \\"multiple\\";\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML input Text Field which could be of a new HTML5 type (email|number|color|search etc. --> see defaults in ./widget.json)\\r\\n\\t\\t\\t\\tcase \\"text\\":\\r\\n\\t\\t\\t\\t\\tvar maxLength = \\"\\";\\r\\n\\t\\t\\t\\t\\tvar elementType = \\"text\\";\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-height-\\" + i) > 0 ) {\\r\\n\\t\\t\\t\\t\\t\\tmaxLength = \\' maxlength=\\"\\' + article.value(\\"element-height-\\" + i) + \\'\\"\\';\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\tif ( article.value(\\"element-inputtype-\\" + i) ){\\r\\n\\t\\t\\t\\t\\t\\telementType = article.value(\\"element-inputtype-\\" + i);\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n \\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// HTML Text-Area\\r\\n\\t\\t\\t\\tcase \\"textarea\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Hidden Text Field - ZP-Type \\"Zusatztext\\"\\r\\n\\t\\t\\t\\tcase \\"hidden\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type \\"Beschreibungstext\\"\\r\\n\\t\\t\\t\\tcase \\"info\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\ncontext.write( article.value(\\"element-value-\\" + i) );\\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// ZP-Type Separator Line\\r\\n\\t\\t\\t\\tcase \\"separator\\":\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t
 
\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t\\t// Default fallback HTML input with whatever element-type is passed\\r\\n\\t\\t\\t\\tdefault:\\r\\n\\t\\t\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t\\");\\r\\n\\r\\n\\t\\r\\n\\t\\t\\t\\t\\tbreak;\\r\\n\\t\\t\\t}\\r\\n\\t\\t} \\r\\n\\t\\t\\r\\n\\t\\t// show Captcha because the user selected the corresponding form action ends in \\"SendEmail.php\\" and not \\"?sc\\"\\r\\n\\t\\tvar scriptName = \\"SendEmail.php\\";\\r\\n\\t\\tif ( action_url.substring(action_url.length - scriptName.length, action_url.length) == scriptName ) { \\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\telse { // show a poor man\\'s anti spam field instead of a captcha. Should this field get a value assigned, we\\'ll discard the mail as spam in the PHP script.\\r\\n\\t\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\");\\r\\n\\r\\n\\r\\n\\t\\t}\\r\\n\\t\\t\\r\\n\\t\\t \\r\\n\\r\\n context.write(\\"\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t
\\r\\n\\r\\n\\");\\r\\n\\r\\ncontext.write( system.partial(\\"article-end.html\\") );\\r\\n\\r\\n context.write(\\"\\r\\n\\");\\r\\n// End source file: \\'C:\\Users\\Christian\\AppData\\Local\\Zeta Producer 12.5-beta\\packaging\\widgets\\formular\\standard.html\\'.\\r\\n};\\r\\n\\r\\n/* Shortcuts. */\\r\\narticle = context.article;\\r\\npage = context.page;\\r\\nprojectFolder = context.projectFolder;\\r\\nproject = context.project;\\r\\nsystem = context.system;\\r\\n\\r\\n\\r\\nnew ScriptExecutor635613131329685767().executeScript();\\r\\n", SourceContext=0, Message="\\'article.value(...)\\' ist Null oder kein Objekt", Data= [ "COM Exception" = COMException { ErrorCode=-2147352319, Message="Ausnahme von HRESULT: 0x80020101", Data= [ ] , InnerException=null, TargetSite=RuntimeMethodInfo: ParseScriptText, StackTrace=" bei ZetaProducer.SuperSlimScriptingEngine.Infrastructure.IActiveScriptParse32.ParseScriptText(String code, String itemName, Object context, String delimiter, IntPtr sourceContextCookie, UInt32 startingLineNumber, ScriptText flags, IntPtr result, EXCEPINFO& exceptionInfo)\\r\\n bei ZetaProducer.SuperSlimScriptingEngine.SlimScriptEngine.doExecute(String script)", HelpLink=null, Source="ZetaProducer.SuperSlimScriptingEngine", HResult=-2147352319 } ] , InnerException=null, TargetSite=RuntimeMethodInfo: doExecute, StackTrace=" bei ZetaProducer.SuperSlimScriptingEngine.SlimScriptEngine.doExecute(String script)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Rendering.Scripting.Engine.RenderingInterpreterHelper.GuardEngineRun(SlimScriptEngine engine, String scriptToExecute, RenderingContext renderingContext, String runString)", HelpLink=null, Source="ActiveScriptSite.ScriptError", HResult=-2146233088 }