}
public static String getAlertSenderConfigurationPreview(AlertNotification alertNotification) {
AlertSenderPluginManager alertSenderPluginManager = LookupUtil.getAlertManager().getAlertPluginManager();
AlertSender sender = alertSenderPluginManager.getAlertSenderForNotification(alertNotification);
return sender.previewConfiguration();
}
public static boolean isIE6() {
HttpServletRequest request = FacesContextUtility.getRequest();
String userAgent = request.getHeader("User-Agent").toLowerCase();