AnsweredAssumed Answered

Template '2-column-edit-form.ftl' showing exception

Question asked by ebuild on Feb 22, 2016
I have added the form template  "2-column-edit-form.ftl" from http://docs.alfresco.com/5.0/tasks/forms-custom-formtemplate.html

When editing the document form I got this error:

Exception: freemarker.core.InvalidReferenceException - The following has evaluated to null or missing: ==> form.items [in template "2-column-edit-form.ftl" at line 25, column 16] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (print stack trace for 7 more): ==> #list form.items as item [in template "2-column-edit-form.ftl" at line 25, column 9]

I'm using Alfresco 5.0d, any clue ?

Outcomes