...
Wiki Markup |
---|
{snippet:lang=xml|id=freemarkerSupport|url=http://svn.apache.org/viewcvs.cgi/*checkout*/incubator/webwork2/webappsaction2/apps/starter/src/main/webapp/WEB-INF/web.xml?content-type=text%2Fplain} |
Tips and Tricks
There are some advanced features that may be useful when building WebWork applications with FreeMarker.
...
To do so, write a new class that extends com.opensymphony.webwork.views.freemarker.FreemarkerManager and overrides it as needed. Then add the following to action.properties:
Code Block | ||||
---|---|---|---|---|
| ||||
webworkstruts.freemarker.manager.classname = com.yourcompany.YourFreeMarkerManager |
...
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=comorg.apache.opensymphonystruts.webworkaction2.views.freemarker.WebWorkBeanWrapperStrutsBeanWrapper} |
Syntax Notes
As of FreeMarker 2.3.4, an alternative syntax is supported. This alternative syntax is great if you find that your IDE (especially IntelliJ IDEA) makes it difficult to work with the default syntax. You can read more about this syntax here.