Menu

#104 JSTL function support

undecided
open
nobody
None
5
2014-08-15
2014-08-13
Woonsan Ko
No

FreemarkerServlet doesn't support JSTL functions at the moment.
I know there are workaround solutions like [1], but it would be more seamless, IMHO, if it cares JSTL functions as well as out-of-box.

For example, if there's isType(Object, String) function defined in TLD, then it should be possible to use it like the following:

<#assign mytag=JspTaglibs["http://www.example.org/jsp/mytag"]>

<#if mytag.isType(bean, "org.example.beans.MyBean")>
Yes, it's MyBean!
</#if>

[1]
http://stackoverflow.com/questions/25123031/convert-jstl-function-to-freemarker

Discussion

  • Dániel Dékány

    Ticket moved from /p/freemarker/bugs/415/

     
  • Dániel Dékány

    Ticket moved from /p/fmpp/feature-requests/28/

     

Log in to post a comment.

MongoDB Logo MongoDB