Class AfterTemplate

java.lang.Object
sunlabs.brazil.template.Template
sunlabs.brazil.sunlabs.AfterTemplate
All Implemented Interfaces:
TemplateInterface

public class AfterTemplate extends Template
Template for running markup after a while. all the markup between the <after> and matching </after> tags are remembered. After "ms" msec have elapsed (defaults to 100), the remembered markup is processed using (almost) the rewrite context that was in effect when the <after> tag was recognized. A copy of the request properties is made, but all other property lists are shared.
  • <after ms=n [eval=true|false]>
If "eval" is specified, then ${..} substitutions are performed on all content before it is processed. The <after> tags can nest. The output from the processing is discarded, this element is used for it's side effects.
  • Constructor Details

    • AfterTemplate

      public AfterTemplate()
  • Method Details