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_TYPES
HELPER_TAG_TYPES
configuration
Constructor and Description |
---|
EmbedHelper() |
EmbedHelper(EmbedHelper.SourceProcessor sourceProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Options options)
Execute the helper.
|
allowedTagTypes
getRequiredHashKeys, getSupportedHashKeys, numberOfRequiredHashEntries, numberOfRequiredParameters, validate
append, convertAndAppend, convertValue, init, isSection, isUnescapeVariable, isVariable
checkNotInitialized, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationKeys, init
public EmbedHelper()
public EmbedHelper(EmbedHelper.SourceProcessor sourceProcessor)
sourceProcessor
- Copyright © 2017. All rights reserved.