Hello Bert,
 
If I'm right you should use the URI "http://java.sun.com/jsp/jstl/fmt";
instead of "http://java.sun.com/jstl/fmt"; for JSTL 1.1.

Regards,

Francis


________________________________

        From: [email protected]
[mailto:[email protected]] On Behalf Of Bert Leunis
        Sent: Friday, July 31, 2009 3:00 PM
        To: Magnolia User-List
        Subject: [magnolia-user] jstl taglib not loaded using freemarker
        
        

        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]>
        ----------------------------------------------------------------
        


**********************************************************************
This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this e-mail by error please delete it immediately. Please 
remember that e-mail transmission cannot be guaranteed to be secure or 
error-free as information could be read, intercepted, altered or corrupted by 
simple technical means. No liability or responsibility is accepted if 
information or data is, for whatever reason, corrupted or does not reach its 
intended recipient.
**********************************************************************

----------------------------------------------------------------
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