Dynamicweb 8 Documentation
Template Class Members
Properties  Methods 


The following tables list the members exposed by Template.

Public Constructors
 NameDescription
Public ConstructorTemplate ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyDeveloperModeGets or sets value indicating whether template is executing in developer mode.  
Public PropertyHtmlGets or sets the HTML of the template. Usually loaded when instanciated New Template("MyFolder/MyTemplate.html").  
Public PropertyItemGets the value of the passed variable name.  
Public PropertyTagsGets or sets the collection of template tags.  
Top
Public Methods
 NameDescription
Public MethodCommitLoopCommits a loop.  
Public MethodGenerateTemplateGenerates a template file on disk. Used when the writing the code for a template. Call this method to have a template generated based on the tags set.  
Public MethodGetLoopGets a loop.  
Public MethodGetValueGets the value of the passed variable name.  
Public MethodLoadTemplateLoads a Template file into the object from disk specified by path parameter.  
Public MethodLoopExistsChecks if a loop exists in the loaded template.  
Public MethodOutputParses the loaded template html with the data set on the object with SetTag(String,String). If the loaded template is a XSLT file, the passed tags are converted into a XML-document which is applied with the loaded XSLT.  
Public MethodSetTagOverloaded. Specifies a tag name and value for the instance of the template object.  
Public MethodSetTagsOverloaded. Adds a collection of tags to the current instance tag collection.  
Public MethodTagExistsChecks if a tag exists in the loaded template.  
Top
See Also

Reference

Template Class
Dynamicweb.Rendering Namespace

Send Feedback