Class ClientUrlFunctionMethod
java.lang.Object
org.springframework.extensions.webscripts.ClientUrlFunctionMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
public final class ClientUrlFunctionMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
- Author:
- David Caruana
Custom FreeMarker Template language method.
Render a client side javascript function to build urls to this service.
Usage: clientUrlFunction(String funcName)
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClientUrlFunctionMethod
Construct
-
-
Method Details
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException- See Also:
-
TemplateMethodModel.exec(java.util.List)
-