[
http://jira.magnolia-cms.com/browse/MGNLFORM-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Teresa Miyar resolved MGNLFORM-11.
----------------------------------
Fix Version/s: 1.0
Resolution: Fixed
> Submit button throws freemarker error
> -------------------------------------
>
> Key: MGNLFORM-11
> URL: http://jira.magnolia-cms.com/browse/MGNLFORM-11
> Project: Magnolia Form Module
> Issue Type: Bug
> Reporter: Boris Kraft
> Assignee: Teresa Miyar
> Fix For: 1.0
>
>
> The submit button's label should default to "Submit"
> Also, it doesn't work, I get the following error
> FreeMarker template error!
> Expression content.controlName is undefined on line 6, column 20 in
> form/paragraphs/formSubmit.ftl.
> The problematic instruction:
> ----------
> ==> ${content.controlName} [on line 6, column 18 in
> form/paragraphs/formSubmit.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.core.InvalidReferenceException: Expression content.controlName is
> undefined on line 6, column 20 in form/paragraphs/formSubmit.ftl.
> at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
> at freemarker.core.Expression.getStringValue(Expression.java:118)
> at freemarker.core.Expression.getStringValue(Expression.java:93)
> at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
> at freemarker.core.Environment.visit(Environment.java:209)
> at freemarker.core.MixedContent.accept(MixedContent.java:92)
> Adding manually an entry for the missing node (controlName) will correctly
> render the button.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------