Configuring your action to use the freemarker result type
Freemarker views are rendered via the webwork result type freemarker, or by using the dispatcher result type in conjunction Webwork's FreemarkerServlet.
We use the freemarker result type which is defined in xwork-community.xml, so you can simply use it like so:
<action name="test" class="package.Test">
<result name="success" type="freemarker">
/templates/testView.ftl
</result>
</action>
Property Resolution
${name} will result in stack.findValue("name"), which generally results in action.getName() being executed.
1.) Freemarker Variables
2.) Webwork Value Stack
3.) Request Attributes
4.) Session Attributes
5.) Servlet Context Attributes
Objects in the Context
${JiveGlobals.getJiveProperty(?skin.defaultHeader?)?default(?Community Home?)}
${statics('com.jivesoftware.community.action.CommunityAction').VIEW_OVERVIEW}
${enums('com.jivesoftware.community.SearchQueryCriteria$SortType').RELEVANCE.key?c}
where ) is replaced with ] and ( is replaced with [