Hello,

Inspired by this page: 
http://wiki.magnolia-cms.com/display/WIKI/I18n+Developer+Information

I try to use the jstl/fmt taglib in freemarker, but the taglib is not 
recognized or loaded.

To load the taglib I use this line:
[#assign fmt=JspTaglibs["http://java.sun.com/jstl/fmt";]]

I placed the jstl-1.1.2.jar in WEB-INF/lib so freemarker can load it.
The error I get is:

Error on line 1, column 1 in tcn/panels/visuals/polaroid_container.ftl
JspTaglibs["http://java.sun.com/jstl/fmt";] is undefined.
It cannot be assigned to fmt
The problematic instruction:
----------
==> assignment: fmt=JspTaglibs["http://java.sun.com/jstl/fmt";] [on line 1, 
column 1 in tcn/panels/visuals/polaroid_container.ftl]
----------

Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Error on line 1, column 1 in 
tcn/panels/visuals/polaroid_container.ftl
JspTaglibs["http://java.sun.com/jstl/fmt";] is undefined.
It cannot be assigned to fmt

What can I do to work with this taglib?

Regards, Bert


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to