Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the end, everything tends to do what you would expect, but it can help to understand the difference of when OGNL is being used and when it isn't, and how attribute types get converted.

JSP Tag Support

While WebWork provides native FreeMarker Tags, you might wish to use other third-party tags that are only available for JSP. Fortunately, FreeMarker has the ability to run JSP tags. To do so, you must include the JspSupportServlet outlined in web.xml 2.1.x compatibility, as this allows the FreeMarker integration to get access to the required objects needed to emulate a JSP taglib container.

Once you've done that, you can simply add something like this in your templates:

Code Block
xml
xml

<#assign cewolf=JspTaglibs["/WEB-INF/cewolf.tld"] />
...
<@cewold.xxx ... />