Class GenerateCalendarUrlMethod
java.lang.Object
ch.tocco.nice2.optional.calendarexport.impl.freemarker.GenerateCalendarUrlMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class GenerateCalendarUrlMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
method to generate a calendar export url
usage:
${generateCalendarUrl(calendarExportConf)} ← uses the installation base url
${generateCalendarUrl(calendarExportConf, "http://test-url.com")} ← uses the 2nd parameter as base url
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GenerateCalendarUrlMethod
public GenerateCalendarUrlMethod()
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
-
setPath
-