facet classafEfanXtra::EfanTemplate
sys::Obj afEfanXtra::EfanTemplate : sys::Facet
@
FacetMeta { inherited=true }@
Serializable
Place on component classes to explicitly use a named template file. By default, efanXtra
looks for an efan template with the same name as the component class.
- uri
const Uri? uri
Use to explicitly set the location of the efan template. The Uri may take several forms:
- if fully qualified, the template is resolved, e.g.
fan://acmePod/templates/Notice.efan
- if relative, the template is assumed to be on the file system, e.g.
etc/templates/Notice.efan
- if absolute, the template is assumed to be a pod resource, e.g.
/templates/Notice.efan
- if fully qualified, the template is resolved, e.g.