Class AfterTemplate

  extended by sunlabs.brazil.template.Template
      extended by sunlabs.brazil.sunlabs.AfterTemplate (view source)
All Implemented Interfaces:

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.

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.

By default, the contents of "SessionID" are used for the session. Use the id attribute to override that. Remember, when the "after" markup is running, all templates processesing using the same session will be blocked, just as if the markup was invoked normally.

Field Summary
Fields inherited from class sunlabs.brazil.template.Template
Constructor Summary
Method Summary
 void tag_after(RewriteContext hr)
Methods inherited from class sunlabs.brazil.template.Template
done, init
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public AfterTemplate()
Method Detail


public void tag_after(RewriteContext hr)

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.