public final class HeaderUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
renderOnDomReady(IHeaderResponse response,
Class<?> clazz,
String fileName,
Map<String,?> params)
Renders the template, filled with the
params, as an
OnDomReadyHeaderItem. |
public static void renderOnDomReady(IHeaderResponse response, Class<?> clazz, String fileName, Map<String,?> params)
params, as an
OnDomReadyHeaderItem.response - IHeaderResponse to render the script intoclazz - Class the template file is relative tofileName - Name of the template fileparams - Map of the parameters to use to fill the templateCopyright © 2014–2018. All rights reserved.