public class EmbedHelper extends BasicValueHelper
{{embed data.template}}
By default, the template source is embedded as a JavaScript snippet.
If more than one parameters are specified, the final name to be looked up is
made up of concatenated params Object.toString() values:
{{embed "/base/path" data.template}}
| Modifier and Type | Class and Description |
|---|---|
static interface |
EmbedHelper.SourceProcessor |
VALUE_TAG_TYPESHELPER_TAG_TYPESconfiguration| Constructor and Description |
|---|
EmbedHelper() |
EmbedHelper(EmbedHelper.SourceProcessor sourceProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Options options)
Execute the helper.
|
allowedTagTypesgetRequiredHashKeys, getSupportedHashKeys, numberOfRequiredHashEntries, numberOfRequiredParameters, validateappend, convertAndAppend, convertValue, init, isSection, isUnescapeVariable, isVariablecheckNotInitialized, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic EmbedHelper()
public EmbedHelper(EmbedHelper.SourceProcessor sourceProcessor)
sourceProcessor - Copyright © 2017. All rights reserved.