}
@Override
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (isAjaxSessionExpirationProcessing(context)) {
DefaultSessionExpiration defaultSessionExpiration = (DefaultSessionExpiration) component;
Confirmation confirmation = defaultSessionExpiration.getConfirmation();
if (confirmation == null) {
confirmation = new Confirmation();
defaultSessionExpiration.setConfirmation(confirmation);
confirmation.setId("openfaces_internal_sessionexpiration_confirmation");
confirmation.setStandalone(true);
confirmation.setCaption("Session Expired");
confirmation.setDraggable(false);
confirmation.setMessage("Your session has expired");