Edit C:\galaxie\deploy\Tomcat6\work\Catalina\localhost\galaxie\old\org\apache\jsp\js\format_005ftel_jsp.class
Êþº¾ 1 $org/apache/jsp/js/format_005ftel_jsp %org/apache/jasper/runtime/HttpJspBase ,org/apache/jasper/runtime/JspSourceDependent _jspxFactory Ljavax/servlet/jsp/JspFactory; _jspx_dependants Ljava/util/List; G_005fjspx_005ftagPool_005ffl_005fcacheControl_0026_005fdelay_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/format_005ftel_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; ? ? ? javax/servlet/jsp/JspWriter ? ! write ? application/x-javascript ? ? ? $_jspx_meth_fl_005fcacheControl_005f0 "(Ljavax/servlet/jsp/PageContext;)Z ? ? ? releasePageContext "(Ljavax/servlet/jsp/PageContext;)V ? ? ? java/lang/Object ? ? getClass ()Ljava/lang/Class; ? ? ? %org/apache/commons/logging/LogFactory ? getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ¢ (com/edeal/frontline/navigation/FlRequest ¡ ¤ ¥ *(Ljavax/servlet/http/HttpServletRequest;)V ¡ § ¨ © getContext !()Lcom/edeal/frontline/FlContext; « ¬ com/edeal/frontline/FlContext ® ¯ getDataDictionary &()Lcom/edeal/frontline/DataDictionary; ± ³ Ctr µ Te1 · ¹ ¸ "com/edeal/frontline/DataDictionary º » getRefList Y(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;Z)Ljava/util/Vector; ½ Te3 · ¿ º À X(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector; Â Ä Ã java/util/Vector Å Æ elementAt (I)Ljava/lang/Object; È java/lang/String Ê java/lang/StringBuilder Ç Ì Í Î valueOf &(Ljava/lang/Object;)Ljava/lang/String; É Ð u Ò , É Ô Õ Ö append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Ø " É Ú Û Z toString Â Ý Þ ß size ()I  á â + contains Ç ä å + equals ç ," é ,"" ë "" í ? ï ? u ñ var lesPays = new Array( ? ó ô u print ö ); ø var lesFormatsTel = new Array( ú var leTelOrigOuverture = ''; ü var lePaysOuverture = ''; þ function doEpurePhone(phone) { epure = ""; $ for (i=0 ; i<phone.length ; i++) { H if (phone.substring(i,i+1) >= "0" && phone.substring(i,i+1) <= "9") { $ epure += phone.substring(i,i+1); } } return epure; } function doEpurePhone2(phone) { if (epure.length > 10) { @ epure = '0' + epure.substring(epure.length - 9,epure.length); (function formatMasque(masque, entree) { > // si pas de masque ou entree vide on rend ce qui est rentre % if (masque == "" || entree == "") { return entree; + // Si conforme au masque en rend l'entree " ' if (masque.length == entree.length) { $ k=i=0; & & while (k==0 && i < masque.length) { ( c if ((masque.substring(i,i+1) != entree.substring(i,i+1)) && (masque.substring(i,i+1) != "?")) { * k=1; , } else { . i++; 0 } 2 if (k==0) { 4 return entree; 6 ) // on compte le nbr de ? dans le masque 8 + for (cpt=i=0 ; i < masque.length ; i++) { : ( if (masque.substring(i,i+1) == "?") { < cpt++; > ) // on extrait les chiffres de la saisie @ ' for (i=0 ; i < entree.length ; i++) { B J if (entree.substring(i,i+1) >= "0" && entree.substring(i,i+1) <= "9") { D % epure += entree.substring(i,i+1); F K // Si le nbr de ? different du nbr de chiffres dans l'entree en rend null H if (epure.length != cpt) { J $ res = "Erreur:" + cpt.toString(); L return res; N //on recupere le resultat P result = ""; R j = 0; T ' for (i=0 ; i < masque.length ; i++) { V % result += epure.substring(j,j+1); X j++; Z } else { \ & result += masque.substring(i,i+1); ^ return result; ` 5function doFormatTel(leChamp , leMsg, leChampPays) { b if (!leChampPays) { d return; f if (leChampPays.options) { h B nomPays = leChampPays.options[leChampPays.selectedIndex].value; j } else { l nomPays = leChampPays.value; n " if (!nomPays || nomPays == '') { p var posPays = 0; r //alert('nomPays ' + nomPays); t G while ((posPays < lesPays.length) && (lesPays[posPays] != nomPays)) { v posPays++; x if(posPays < lesPays.length) { z # masque = lesFormatsTel[posPays]; | //alert('masque ' + masque); ~ - //alert('leChamp.value ' + leChamp.value); ? . res = formatMasque(masque , leChamp.value); ? //alert('res ' + res); ? & if (res.indexOf("Erreur:") != -1) { ? ` window.status = leMsg + " Vous devez entrer " + res.substring(7, res.length) + " chiffres."; ? W alert(leMsg + " Vous devez entrer " + res.substring(7, res.length) + " chiffres."); ? return false; ? leChamp.value = res; ? window.status = ""; ? (function getTelEpure(masque , entree) { ? var epure = ""; ? ( var digit = entree.substring(i, i+1); ? & if (digit >= "0" && digit <= "9") { ? epure += digit; ? * // si pas de masque on rend le tel epure ? if (masque == "") { ? return epure; 3 // Si non conforme au masque en rend le tel epure ¢ k = i = 0; ¤ ( while (k == 0 && i < masque.length) { ¦ if (k != 0) { ¨ return epure; ª // tel conforme au masque : ¬ var res = ""; ® ) for (i = 0 ; i < masque.length ; i++) { ° # res += entree.substring(i,i+1); ² return res; ´ :function doEpureTel(leChamp , leChampOrig, leChampPays) { ¶ if (nomPays != "" ) { ¸ H while ((posPays < lesPays.length) && (lesPays[posPays] != nomPays)) { º posPays++; ¼ ; leChampOrig.value = getTelEpure(masque , leChamp.value); ¾ #javax/servlet/jsp/SkipPageException ?ÀÁ ß getBufferSize ?ÃÄ clearBuffer {ÆÇÈ handlePageException (Ljava/lang/Throwable;)V ÊÌË java/lang/ThrowableÍ Z getMessage ÏÐÑ log *(Ljava/lang/String;Ljava/lang/Throwable;)V 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; paysID Ljava/lang/String; formatTel vectid Ljava/util/Vector; vect i I curCtr id fTel curPays idP t Ljava/lang/Throwable;ô .com/edeal/frontline/navigation/CacheControlTag :ö÷ø get 1(Ljava/lang/Class;)Ljavax/servlet/jsp/tagext/Tag; óúû ? setPageContext óýþÿ setParent !(Ljavax/servlet/jsp/tagext/Tag;)V 0 ó u setDelay ó ß doStartTag ó ß doEndTag : ÿ reuse "_jspx_th_fl_005fcacheControl_005f0 0Lcom/edeal/frontline/navigation/CacheControlTag; SourceFile format_005ftel_jsp.java 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± , ! # "