Extension in JFinal
You can set the shared tool class for FreeMarker through FreeMarkerRender.getConfiguration().setSharedVariable(“myKit”, new MyKit()) and use ${myKit.method(para)} in the view.
You can set the shared tool class for FreeMarker through FreeMarkerRender.getConfiguration().setSharedVariable(“myKit”, new MyKit()) and use ${myKit.method(para)} in the view.