POST
|
I need to export data to Word in my application by using Flex . How can do this with actionscript 3. I'm new to Flex technology. Please help me in this.
... View more
12-10-2013
07:57 AM
|
0
|
0
|
308
|
POST
|
Hello If you have an idea how to retrieve the FeatureLayer dynamically from the map or service. the big problem I have is that the layer is explicitly defined in the code:
<esri:FeatureLayer id="fireAreas" mode="snapshot" outFields="*" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/2">
... View more
07-25-2013
06:40 AM
|
0
|
0
|
443
|
POST
|
Hi , I would like to have the barchart color as same piechart color [ATTACH=CONFIG]25020[/ATTACH] some suggestion please 🙂
... View more
06-06-2013
10:15 AM
|
0
|
0
|
130
|
POST
|
Hi , I would like to have the barchart color as same piechart color [ATTACH=CONFIG]25020[/ATTACH]
... View more
06-05-2013
09:16 AM
|
0
|
2
|
442
|
POST
|
when i try to register my databasei have this erro:[ATTACH=CONFIG]24539[/ATTACH] more clarification see this image:[ATTACH=CONFIG]24545[/ATTACH] some one help me 🙂
... View more
05-21-2013
06:05 AM
|
0
|
0
|
648
|
POST
|
hi how to hide the navigation bar in flex Application some one help me please 🙂
... View more
05-16-2013
12:31 PM
|
0
|
5
|
2092
|
POST
|
Hi, I want to export my datagrid to exel or save it as .csv. This is a very common problem and unfortunately even after a lot of search on Google, I was not able to find a solution of this Please give any useful suggession or snippet sample. Thanks in advance,
... View more
05-08-2013
02:30 AM
|
0
|
1
|
445
|
POST
|
Same way as the chart. Read the data into an array then assign that array as the data provider of the tree control. I did what you said but doesn't works in fact I work with RemoteObject and i want to create a java class to retrieves data from my mysql database. if you have any exampls show it me please
... View more
05-01-2013
08:38 AM
|
0
|
0
|
147
|
POST
|
thank's Flex charting directly from data coming from mysql database
... View more
04-30-2013
05:33 AM
|
0
|
0
|
187
|
POST
|
Hi, How to populate a flex tree control from MySQL Database ?
... View more
04-30-2013
05:31 AM
|
0
|
2
|
527
|
POST
|
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:viewer="com.esri.viewer.*"
xmlns:managers="com.esri.viewer.managers.*"
xmlns:mx="library://ns.adobe.com/flex/mx"
backgroundColor="#F8F8F8" currentState="Authentification"
pageTitle="ArcGIS Viewer for Flex"
xmlns:ns1="component.*"
xmlns:ns="http://code.google.com/p/flexlib/"
>
<fx:Declarations>
<mx:RemoteObject id="roAuthServiceDest"
destination="AuthServiceDest"
result="onTrue(event)"
fault="onFalse(event)"/>
</fx:Declarations>
<s:states>
<s:State name="Authentification"/>
<s:State name="acceuill"/>
</s:states>
<fx:Script>
<![CDATA[
import com.flexer.skin.*;
import component.*;
import component.acceuil;
import mx.effects.easing.Back;
import mx.effects.easing.Bounce;
import mx.effects.easing.Cubic;
import mx.effects.easing.Elastic;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.utils.ObjectProxy;
[Bindable]
public var colors:ObjectProxy = new ObjectProxy();
private var acceu:acceuil=new acceuil();
private var mycomponent:firstcomponent =new firstcomponent();
private var macarte:carte =new carte();
private var myconnexion:connexionDB =new connexionDB();
public function afficheacceuil():void
{
currentState="acceuill";
this.addElement(acceu);
acceu.visible=true;
}
private function doCall():void{
// Appeler le service distant
taReponse.text==""
swfMessage.visible = true;
roAuthServiceDest.Authentif(username.text ,password.text);
}
private function onTrue(event : ResultEvent):void{
// Afficher la réponse
taReponse.text = event.result as String;
if(taReponse.text=="")
{
afficheacceuil();
}
swfMessage.visible = false;
}
/**
* Méthode invoquée en cas d'échec de l'appel RPC
*/
private function onFalse(event : FaultEvent):void{
// Afficher le message d'erreur
taReponse.text = event.fault.message;
swfMessage.visible = false;
}
]]>
</fx:Script>
<mx:Canvas id="viestk2" x="0" y="0" includeIn="Authentification" height="100%" width="100%" >
<s:Image left="0" right="0" top="0" bottom="0" horizontalCenter="0" scaleMode="stretch"
smooth="false" source="assets/images/Env.jpg" verticalCenter="0"/>
<s:Image top="20" bottom="20" width="562" horizontalCenter="0" source="assets/images/Auth.jpg"
verticalCenter="0"/>
<mx:Form horizontalCenter="13" verticalCenter="17">
<mx:FormHeading label="S'authentifier (utiliser user/pass)"/>
<mx:FormItem label="Nom d'utilisateur">
<mx:TextInput id="username"/>
</mx:FormItem>
<mx:FormItem label="Mot de passe">
<mx:TextInput id="password" displayAsPassword="true" enter="doCall()"/>
</mx:FormItem>
<mx:FormItem>
<mx:Button id="submit" label="Valider" click="doCall()" />
<s:Label id="taReponse" bottom="49" width="239" color="#E71515" fontFamily="Times New Roman"
fontSize="13" fontWeight="bold" horizontalCenter="17"/>
</mx:FormItem>
<mx:FormItem>
<mx:Image id="swfMessage"
source="assets/images/loader.swf"
visible="false"/>
<mx:CheckBox id="rememberMe" label="Se souvenir de moi"/>
</mx:FormItem>
</mx:Form>
</mx:Canvas>
</s:Application>
and this is my class Authentification.java
package com.developpez.service;
import java.sql.*;
public class Authentification
{
String username = "postgres";
String password = "admin";
String url = "jdbc:postgresql://localhost:5432/test";
String addconfirm="";
public String Authentif(String login ,String pass)
{
String userExist="Utilisateur ou Mot de passe incorrect";
try
{
//connexion base
Class.forName("org.postgresql.Driver");
Connection connexion = DriverManager.getConnection(url,username,password);
Statement instruction = connexion.createStatement();
ResultSet resultat = instruction.executeQuery("SELECT * FROM users");
while(resultat.next())
{
if ((login.equals(resultat.getString("login"))) && (pass.equals(resultat.getString("password"))))
{
userExist = "";
}
}
}
catch (Exception e)
{
System.out.println("echec pilote : "+e);
}
return userExist;
}
}
... View more
04-29-2013
06:08 AM
|
0
|
0
|
345
|
POST
|
the problem that the integer fields works correctly but the double fields no. the solution you must not use this skinClass="widgets.Thematic.skins.GRLegendSkin" <esri:Legend id="legend" left="5" right="5" top="5" bottom="5" layers="{[thematicLayer]}" map="{map}" skinClass="widgets.Thematic.skins.GRLegendSkin"/>
... View more
04-27-2013
03:39 PM
|
0
|
0
|
536
|
POST
|
I'm using java server (Blazeds) and postgres geodatabase I want to khnow how to generate a chart and graphics from my database ?
... View more
04-27-2013
02:38 AM
|
0
|
2
|
441
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|