If none of the existing FreeMarker transforms meet your requirements, you may always create your own. FreeMarker transforms are Java classes configured to perform an inline conversion when used within a FreeMarker template.
To create your own FreeMarker transform, follow these steps:
TemplateTransformModel
Java class.~framework/webapp/config/freemarkerTransforms.properties
Writing a Java FreeMarker transformation is a simple way of extending FreeMarker data formatting capabilities for use across the entire OFBiz instance.
There are many examples of custom FreeMarker transformations within the OFBiz distribution. For example, the content
Component has implemented a number of these to assist in the sometimes tricky transformation of raw data into human readable formats:
~content/src/org/ofbiz/content/webapp/ftl
3.135.204.0