final IAjaxCallDecorator ajaxCallDecorator = getAjaxCallDecorator();
if (ajaxCallDecorator instanceof IHeaderContributor)
{
IHeaderContributor contributor = (IHeaderContributor)ajaxCallDecorator;
contributor.renderHead(component, response);
}
}
/**
* @return ajax call decorator used to decorate the call generated by this behavior or null for