Class ThymeleafProcedureSource

java.lang.Object
net.officefloor.web.thymeleaf.ThymeleafProcedureSource
All Implemented Interfaces:
ManagedFunctionProcedureSource, ProcedureSource, ProcedureSourceServiceFactory, ServiceFactory<ProcedureSource>

public class ThymeleafProcedureSource extends Object implements ManagedFunctionProcedureSource, ProcedureSourceServiceFactory
ProcedureSource that renders a Thymeleaf template.

The resource name is the Thymeleaf template name (without prefix/suffix). The procedure parameter (passed from the previous composition step) is exposed to the template as the model variable.