If "date" (java.
If "date" (java.text.DateFormat) or "number" (java.text.NumberFormat) is not set in "options", the format corresponding to current language in "currentAction" will be used.
Takes out "date" format from options.
Takes out "date" format from options.
Takes out "number" format from options.
Takes out "number" format from options.
Renders the template at the location identified by the directory and the fragment:
Renders the template at the location identified by the directory and the fragment:
<scalateDir>/<path/of/directory>/_<fragment>.<templateType>
Directory path that contains the fragment
Fragment
Will be imported in the template as "helper"
"type" -> "jade"/"mustache"/"scaml"/"ssp", "date" -> DateFormat, "number" -> NumberFormat
Production mode: Renders the precompiled template class.
Production mode: Renders the precompiled template class. Development mode: Renders Scalate template file relative to templateDir. If the file does not exist, falls back to rendering the precompiled template class.
jade, mustache, scaml, or ssp
"date" -> DateFormat, "number" -> NumberFormat
Renders precompiled Scalate template.
Renders precompiled Scalate template.
Template object
URI to identify a template
"date" -> DateFormat, "number" -> NumberFormat
Will be imported in the template as "helper"
Renders Scalate template file.
Renders Scalate template file.
Absolute file path of template
"date" -> DateFormat, "number" -> NumberFormat
Will be imported in the template as "helper"
Renders the template at the location identified by the template path:
Renders the template at the location identified by the template path:
<scalateDir>/<path/of/template>.<templateType>
Template path
Will be imported in the template as "helper"
"type" -> "jade"/"mustache"/"scaml"/"ssp", "date" -> DateFormat, "number" -> NumberFormat
Takes out "type" from options.
Takes out "type" from options. It shoud be one of: "jade", "mustache", "scaml", or "ssp"
This class is intended for use only by Xitrum. Apps that want to create additional Scalate template engine instances can use ScalateEngine.