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 java.lang.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)
-
-
Constructor Summary
Constructors Constructor Description ClientUrlFunctionMethod(WebScriptResponse res)Construct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectexec(java.util.List args)
-
-
-
Constructor Detail
-
ClientUrlFunctionMethod
public ClientUrlFunctionMethod(WebScriptResponse res)
Construct
-
-
Method Detail
-
exec
public java.lang.Object exec(java.util.List args) throws freemarker.template.TemplateModelException- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException- See Also:
TemplateMethodModel.exec(java.util.List)
-
-