params.put("callbackFunctionName", getCallbackFunctionName());
params.put("componentId", component.getMarkupId());
params.put("layerId", vector.getJsId());
params.put("projection", projection != null ? projection : "NULL");
PackageTextTemplate template = new PackageTextTemplate(ViewEventListener.class,
"ViewEventFeaturesListener.js");
response.render(OnDomReadyHeaderItem.forScript(template.asString(params)));
}