public interface TemplateContext
TemplateConstants.VAR_TEMPLATE_CONTEXT name.| Modifier and Type | Method and Description |
|---|---|
String |
getFragmentId()
Gets the id of the fragment.
|
String |
renderFragment(String fragmentId)
Renders one of the fragments of the current template.
|
String |
renderFragment(String fragmentId,
Map<String,Object> parameters)
Renders one of the fragments of the current template.
|
String getFragmentId()
TemplateConstants.FRAGMENT_ROOT is returned.String renderFragment(String fragmentId)
fragmentId - The id of the fragment.String renderFragment(String fragmentId, Map<String,Object> parameters)
fragmentId - The id of the fragment.parameters - Map of variables that are also visible during rendering the fragment.Copyright © 2011–2018 Everit Kft.. All rights reserved.