IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Flex Discussion :

erreur non localisée


Sujet :

Flex

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Juin 2010
    Messages
    80
    Détails du profil
    Informations personnelles :
    Localisation : Maroc

    Informations forums :
    Inscription : Juin 2010
    Messages : 80
    Points : 51
    Points
    51
    Par défaut erreur non localisée
    bonjour tout le monde
    j'ai crée un script pour l'affichage d'un tableau ,qui se connectera a ma base oracle ..
    néanmoins j'ai erreur non localisé dans mon mxml
    voici mon code

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    <?xml version="1.0" encoding="utf-8"?>
    <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009" 
    			   xmlns:s="library://ns.adobe.com/flex/spark" 
    			   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
    			   xmlns:view="com.adobe.demo.view.*" width="100%" height="100%" title="Adobe Demo - Found {consultantRecords} consultants." creationComplete="loadBilan();">
     
     
    	<fx:Declarations>
    		<!-- Placer ici les éléments non visuels (services et objets de valeur, par exemple). -->
     
    		<s:RemoteObject id="loaderService" destination="bilanService" result="handleLoadResult(event)" fault="handleFault(event)" showBusyCursor="true" />
     
    	</fx:Declarations>
     
     
    	<fx:Script> 
    		<![CDATA[ 
     
    			import com.adobe.demo.vo.Bilan;
    			import mx.controls.Alert; 
    			import mx.managers.PopUpManager; 
    			import mx.containers.TitleWindow; 
    			import mx.collections.ArrayCollection; 
    			import mx.rpc.events.ResultEvent; 
    			import mx.rpc.events.FaultEvent; 
     
    			[Bindable]	private var message:String; 
    			[Bindable] 	private var consultants:ArrayCollection = new ArrayCollection();
    			[Bindable] private var consultantRecords:int = 0; 
     
    			public function loadConsultants():void { 
    				loaderService.getBilan();
    			} 
     
    			private function handleLoadResult(ev:ResultEvent):void { 
    				consultants = ev.result as ArrayCollection; 
    				consultantRecords = consultants.length; 
    			}
     
    			private function handleFault(ev:FaultEvent):void {
    				message = "Error: " + ev.fault.faultCode + " - " + ev.fault.faultDetail + " - " + ev.fault.faultString; } 
     
    		]]> 
     
    	</fx:Script> 
     
    	<mx:VBox width="100%" height="100%"> 
    					 <mx:Label text="{message}" fontWeight="bold" includeInLayout="false" /> 
    					 <mx:DataGrid id="dataGrid" width="100%" height="100%" dataProvider="{bilan}" doubleClickEnabled="false"  > 
    						 <mx:columns> 
    							 <mx:DataGridColumn dataField="type_bilan" headerText="type bilan" width="100"/> 
    							 <mx:DataGridColumn dataField="date_bilan" headerText="date_bilan" /> 
    							 <mx:DataGridColumn dataField="date_purge" headerText="date_purge" /> 
    							 <mx:DataGridColumn dataField="date_maj" headerText="date_maj" /> 
    							 <mx:DataGridColumn dataField="type_table" headerText="type_table" /> 
    							 <mx:DataGridColumn dataField="id_eec" headerText="id_eec" />
    							 <mx:DataGridColumn dataField="entete" headerText="entete" />
    							 <mx:DataGridColumn dataField="info" headerText="info" />
    						 </mx:columns> 
    					 </mx:DataGrid> 
    			            <mx:ControlBar horizontalAlign="center"> <
    										<mx:Button label="Reload Data" click="loadConsultants()" toolTip="Reload the consultant list from the database." />
    						</mx:ControlBar> 
    				 </mx:VBox> 
     
    </s:Panel>
    il génére l'erreur suivante sans pour autant spécifier l'emplacement exact :
    caractère ou annotation incorrect(e) détectée(e) dans un bloc de script. Essayez d'entourer le code à l'aide d'un bloc CDATA.
    merci d'avance pour votre aide

  2. #2
    Nouveau membre du Club
    Homme Profil pro
    Ingénieur développement de composants
    Inscrit en
    Mars 2011
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement de composants
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2011
    Messages : 21
    Points : 29
    Points
    29
    Par défaut
    Citation Envoyé par execrable Voir le message
    <mx:ControlBar horizontalAlign="center"> <
    Tu as oublié une ouverture

Discussions similaires

  1. FOP + erreurs non localisées
    Par yozine dans le forum XSL/XSLT/XPATH
    Réponses: 2
    Dernier message: 07/09/2009, 11h05
  2. Erreur non localisée
    Par nezdeboeuf62 dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 24/01/2008, 22h13
  3. [FORMS][6i] Erreur non explicitée
    Par badara1 dans le forum Forms
    Réponses: 15
    Dernier message: 13/05/2005, 10h56
  4. [ADO-Access] ADOQuery1.Open (SELECT) -> Erreur non spécif
    Par david_chardonnet dans le forum Bases de données
    Réponses: 3
    Dernier message: 10/11/2004, 15h29

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo