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 package of the given action class and the given fragment:
Renders the template at the location identified by the package of the given action class and the given fragment:
<scalateDir>/<package/name/of/the/location>/_<fragment>.<templateType>
Ex: When location = myapp.ArticleNew, fragment = form, the template path will be: src/main/scalate/myapp/_form.jade
Action class used to identify the template location
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 given action class:
Renders the template at the location identified by the given action class:
<scalateDir>/<class/name/of/the/location>.<templateType>
Ex: When location = myapp.SiteIndex, the template path will be: src/main/scalate/myapp/SiteIndex.jade
Action class used to identify the template location
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.