Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\org\apache\jsp\js\cti_jsp.class
Êþº¾ 1ò org/apache/jsp/js/cti_jsp %org/apache/jasper/runtime/HttpJspBase ,org/apache/jasper/runtime/JspSourceDependent _jspxFactory Ljavax/servlet/jsp/JspFactory; _jspx_dependants Ljava/util/List; 2_005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody *Lorg/apache/jasper/runtime/TagHandlerPool; _el_expressionfactory Ljavax/el/ExpressionFactory; _jsp_annotationprocessor Lorg/apache/AnnotationProcessor; <clinit> ()V Code javax/servlet/jsp/JspFactory getDefaultFactory ()Ljavax/servlet/jsp/JspFactory; java/util/ArrayList ! <init> (I)V # % /WEB-INF/taglib.tld ' ) ( java/util/List * + add (Ljava/lang/Object;)Z LineNumberTable LocalVariableTable / this Lorg/apache/jsp/js/cti_jsp; getDependants ()Ljava/lang/Object; _jspInit 6 7 8 getServletConfig ()Ljavax/servlet/ServletConfig; : < ; (org/apache/jasper/runtime/TagHandlerPool = > getTagHandlerPool I(Ljavax/servlet/ServletConfig;)Lorg/apache/jasper/runtime/TagHandlerPool; @ B D C javax/servlet/ServletConfig E F getServletContext ()Ljavax/servlet/ServletContext; H I J getJspApplicationContext I(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; L N M 'javax/servlet/jsp/JspApplicationContext O P getExpressionFactory ()Ljavax/el/ExpressionFactory; R T org/apache/AnnotationProcessor V X W java/lang/Class Y Z getName ()Ljava/lang/String; \ ^ ] javax/servlet/ServletContext _ ` getAttribute &(Ljava/lang/String;)Ljava/lang/Object; b _jspDestroy : e f release _jspService R(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V Exceptions k java/io/IOException m javax/servlet/ServletException o text/html q s r &javax/servlet/http/HttpServletResponse t u setContentType (Ljava/lang/String;)V w x y getPageContext ?(Ljavax/servlet/Servlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljava/lang/String;ZIZ)Ljavax/servlet/jsp/PageContext; { D | javax/servlet/jsp/PageContext { 6 { ? ? getSession "()Ljavax/servlet/http/HttpSession; { ? ? ? getOut ()Ljavax/servlet/jsp/JspWriter; ? ? ? java/lang/Object ? ? getClass ()Ljava/lang/Class; ? ? ? %org/apache/commons/logging/LogFactory ? ? getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ? application/x-javascript ? (com/edeal/frontline/navigation/FlRequest ? ? ? *(Ljavax/servlet/http/HttpServletRequest;)V ? ? ? ? getContext !()Lcom/edeal/frontline/FlContext; ? ? com/edeal/frontline/FlContext ¡ ¢ getDataDictionary &()Lcom/edeal/frontline/DataDictionary; ¤ actorID ¦ ^ § javax/servlet/http/HttpSession © java/lang/String « actorHasCTI java/lang/Boolean ¬ ¯ ° ± booleanValue ()Z ? ³ ´ µ getLicenceManager &()Lcom/edeal/frontline/LicenceManager; · ¹ ¸ 1com/edeal/frontline/services/cti/CTIServiceClient º » CTI_LIC_CODE Ljava/lang/String; ½ ¿ ¾ .com/edeal/frontline/LicenceManager$LicenceType À Á PermanentLicence 0Lcom/edeal/frontline/LicenceManager$LicenceType; Ã Å Ä "com/edeal/frontline/LicenceManager Æ Ç actorHasSoftware w(Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/LicenceManager$LicenceType;Ljavax/servlet/http/HttpSession;)Z ? É Ê Ë getServiceManager 1()Lcom/edeal/frontline/services/FlServiceManager; Í CTI Ï Ñ Ð -com/edeal/frontline/services/FlServiceManager Ò Ó getServiceClient b(Ljavax/servlet/http/HttpSession;Ljava/lang/String;)Lcom/edeal/frontline/services/FlServiceClient; · Õ Ö ± useHideFrame Ø Ú Ü Û javax/servlet/jsp/JspWriter Ý u write ß var useCtiWindow = Ú á â ã print (Z)V å ; ç function doCtiOnLoad() { é ë if (useCtiWindow) { í * var ctiWindow = window.open('','CTI'); ï 9 try { ctiWindow.doOnLoadCTI(true); } catch (error) {} ñ } else { ó doOnLoadCTI(); õ } ÷ } ù ,function addInteraction(pPhone,pObj, pID){ û var strQuery = '&'; ý ÿ if('Actor' == pObj) { if(pID == ' Ú â u ') { ' strQuery += 'initIntActID=' + pID; } else { strQuery += 'initIntActID= ;' + pID; } } else if('Person' == pObj) { & strQuery += 'initIntPerID=' + pID; } " else if('Enterprise' == pObj) { & strQuery += 'initIntEntID=' + pID; $ } else if('Journalist' == pObj) { & strQuery += 'initIntJouID=' + pID; ! ! } else if('Support' == pObj) { # & strQuery += 'initIntSupID=' + pID; % " } else if('Location' == pObj) { ' & strQuery += 'initIntLocID=' + pID; ) }else + { - return; / var dt = new Date(); 1 Ñ strQuery += '&initIntDate=' + flEscape((dt.getDate() < 10 ? '0' + dt.getDate() : dt.getDate()) + '/' + ((dt.getMonth() + 1) < 10 ? '0' + (dt.getMonth() + 1) : (dt.getMonth() + 1)) + '/' + dt.getFullYear()); 3 ² strQuery += '&initIntTimeBeg=' + flEscape((dt.getHours() < 10 ? '0' + dt.getHours() : dt.getHours()) + ':' + (dt.getMinutes() < 10 ? '0' + dt.getMinutes() : dt.getMinutes())); 5 " strQuery += '&initIntTimeEnd='; 7 strQuery += '&initIntStiID=9 IntStiID; DONE =?> "com/edeal/frontline/DataDictionary@A getRefIdByCode 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;C '; E strQuery += '&initIntAtvID=G IntAtvIDI OUTPHONEK window.open(' MNO _jspx_meth_fl_005fwebapp_005f0 "(Ljavax/servlet/jsp/PageContext;)Z QRS releasePageContext "(Ljavax/servlet/jsp/PageContext;)VU ·/create_interaction.fl?phone=' + flEscape(pPhone) + strQuery + '&done=1', 'InteractionFrom', 'menubar=yes,status=yes,toolbar=yes,scrollbars=yes,resizable=yes,width=1024,height=768'); W %function doCall(pPhone, pObj, pID) { Y - var urlRandomizer = (new Date()).getTime(); [ doAjax(' ]^O _jspx_meth_fl_005fwebapp_005f1` ?/doCallCTI_ajax.fl?rand=' + urlRandomizer + '&arg0=' + flEscape(pPhone) + '&arg1=' + flEscape(pObj) + '&arg2=' + flEscape(pID)); b function doAnswer(pRef) { d 9 try { ctiWindow.doAnswerCTI(pRef); } catch (error) {} f doAnswerCTI(pRef); h $function doTransfer(pRef, pPhone) { jkO _jspx_meth_fl_005fwebapp_005f2m j/doTransferCTI_ajax.fl?rand=' + urlRandomizer + '&arg0=' + flEscape(pRef) + '&arg1=' + flEscape(pPhone)); o $function doChangeStatus(newState) { qrO _jspx_meth_fl_005fwebapp_005f3t N/doCTIChangeStatus_ajax.fl?rand=' + urlRandomizer + '&newState=' + newState); v // Form transfer x // pRef : tel reference z // pPhone : someone to call | #// pobjID : object id to associate ~ $// pType : object type to associate ? 8// pIsGroup : is this a group ? (escalation group team) ? >// pCallerPhone : the first caller phone number (the client). ? Ofunction doTransferForm(pRef, pPhone, pobjID, pType, pIsGroup, pCallerPhone) { ? / //alert('doTransferForm : pobjID : '+pobjID); ? - //alert('doTransferForm : pType : '+pType); ? //alert('avant url '); ? var url = ' ??O _jspx_meth_fl_005fwebapp_005f4? h/doTransferFormCTI_ajax.fl?rand=' +urlRandomizer + '&arg0=' + escape(pRef) + '&arg1=' + escape(pPhone); ? //alert('url1 : '+url); ? } url += '&pType='+escape(pType)+'&pobjID='+escape(pobjID)+'&isGroup='+escape(pIsGroup)+'&callerPhone='+escape(pCallerPhone); ? //alert('url : '+url); ? doAjax(url); ? }? #javax/servlet/jsp/SkipPageException Ú? ¡ getBufferSize ()I Ú£¤ clearBuffer {¦§¨ handlePageException (Ljava/lang/Throwable;)V ª¬« java/lang/Throwable Z getMessage ¯°± log *(Ljava/lang/String;Ljava/lang/Throwable;)V³ java/lang/Exceptionµ /com/edeal/frontline/services/FlServiceException request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; pageContext Ljavax/servlet/jsp/PageContext; session Ljavax/servlet/http/HttpSession; out Ljavax/servlet/jsp/JspWriter; _jspx_out _jspx_page_context flRequest *Lcom/edeal/frontline/navigation/FlRequest; context Lcom/edeal/frontline/FlContext; dico $Lcom/edeal/frontline/DataDictionary; strActID actHasLic Z activateCTI cti 3Lcom/edeal/frontline/services/cti/CTIServiceClient; isDoCTIWindow t Ljava/lang/Throwable;Ò com/edeal/frontline/WebappTag :ÔÕÖ get 1(Ljava/lang/Class;)Ljavax/servlet/jsp/tagext/Tag; ÑØÙS setPageContext ÑÛÜÝ setParent !(Ljavax/servlet/jsp/tagext/Tag;)V Ñßà¡ doStartTag Ñâã¡ doEndTag :åæÝ reuse _jspx_th_fl_005fwebapp_005f0 Lcom/edeal/frontline/WebappTag; _jspx_th_fl_005fwebapp_005f1 _jspx_th_fl_005fwebapp_005f2 _jspx_th_fl_005fwebapp_005f3 _jspx_th_fl_005fwebapp_005f4 SourceFile cti_jsp.java InnerClasses LicenceType SourceDebugExtension 1 I ¸ ³ » Y· ³ "² "$¹ & W± , - / *· .± , - 0 1 2 3 . ² "° , - 0 1 4 t >**¶ 5¸ 9µ ?*² *¶ 5¹ A ¶ G¹ K µ Q**¶ 5¹ A S¶ U¹ [ À Sµ a± , # $ # % = &