|
From: <jer...@xt...> - 2004-07-20 22:17:31
|
I tried the following template:
<#import "/spring.ftl" as spring />
<html>
<body>
<@spring.bind path=3D"command.*">
<#list status.errorMessages as error>
Error code: ${error}<br/>
</#list>
</@spring.bind>
</body>
When the macro @spring.bind is called, I do have the following error:
Error on line 62, column 9 in spring.ftl
springBindStatusHelper.createBindStatus(path, escape) is undefined.
It cannot be assigned to status
The problematic instruction:
----------
=3D=3D> assignment: status=3DspringBindStatusHelper.createBindStatus(path=
,=20
escape) [on line 62, column 9 in spring.ftl]
in user-directive spring.bind [on line 12, column 1 in user.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Error on line 62, column 9 in=20
spring.ftl
springBindStatusHelper.createBindStatus(path, escape) is undefined.
It cannot be assigned to status
at freemarker.core.Assignment.accept(Assignment.java:112)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Macro$Context.runMacro(Macro.java:164)
at freemarker.core.Environment.visit(Environment.java:470)
[...]
Have someone been able to use FreeMarkerFormView properly?
Do I need to add something "special" in my configurer for FreeMarker?
TIA,
J=E9r=F4me.
|