*/
public class AjaxSettingsRenderer extends AbstractSettingsRenderer implements AjaxPortionRenderer {
@Override
public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
AjaxSettings ajaxSettings = (AjaxSettings) component;
if (!AjaxUtil.isAjaxRequest(context)) {
processOnsessionexpired(context, ajaxSettings);
Resources.renderJSLinkIfNeeded(context, Resources.utilJsURL(context));
Resources.renderJSLinkIfNeeded(context, Resources.internalURL(context, ConfirmationRenderer.JS_SCRIPT_URL));
}