| java.lang.Object org.tigris.scarab.util.SnippetRenderer
SnippetRenderer | public class SnippetRenderer implements SkipFiltering(Code) | | Renders templates in the templates/snippets directory. Its primary
use is within actions, if the messaging is more complex than a simple
string. One cannot use the renderer that might be in the context as
that renderer could output directly to the response, while the action
message should not be sent until a later time.
author: John McNally |
Constructor Summary | |
public | SnippetRenderer(RunData data, String template) Construct a renderer for the given RunData. |
SnippetRenderer | public SnippetRenderer(RunData data, String template)(Code) | | Construct a renderer for the given RunData.
|
toString | public String toString()(Code) | | Render the given template. TemplateContext to use will be extracted from
the RunData with which this SnippetRenderer was constructer.
Parameters: template - name/path of template in the format expected by theappropriate template engine service Result of template merge |
|
|