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

Forms Oracle Discussion :

[Forms-Bean] Exemple Map


Sujet :

Forms Oracle

  1. #1
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut [Forms-Bean] Exemple Map
    Bonjour,

    J'ai testé l'exemple Map du blog des pjc.

    Je reçois ceci dans ma java console et puis rien.

    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
     
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
     
    Proxy Configuration: Automatic Proxy Configuration
     
    JAR cache enabled
         Location: D:\documents and settings\OFV7600\Oracle Jar Cache
         Maximum size: 50 MB
         Compression level: 0
     
     
     
    ----------------------------------------------------
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    q:   hide console
    s:   dump system properties
    t:   dump thread list
    x:   clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
     
    Loading http://do040001334.msnet.railb.be:8889/forms90/java/f90all_jinit.jar from JAR cache
     
    Loading http://do040001334.msnet.railb.be:8889/forms90/java/cadtest20060320.jar.sig from JAR cache
     
    Loading http://do040001334.msnet.railb.be:8889/forms90/java/map.jar.sig from JAR cache
     
    proxyHost=null
     
    proxyPort=0
     
    connectMode=HTTP, native.
     
    Forms Applet version is : 9.0.4.0
     
    Searching JAR for /france.jpg
     
    Unable to find /france.jpg in JAR
     
    Searching docbase for /france.jpg
    Quel est le problème ?

  2. #2
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Bizarre, normalement le fichier JAR devrait être fjmap.jar

    Je l'ai testé en 9.0.2 et 10.1.2

  3. #3
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    juste c'est parce que j'ai refai le jar et renommé en map. et signé ce dernier avec ma signature.

  4. #4
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Oui, mais l'image france.jpg a t-elle été intégrée dans le JAR ? (certainement pas)

  5. #5
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    juste. Je la pompe ou cette image ?

  6. #6
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Citation Envoyé par patmaba
    juste c'est parce que j'ai refai le jar et renommé en map. et signé ce dernier avec ma signature.
    Ces examples doivent être testé "en l'état". Sinon, il convient de spécifier immédiatement que vous les avez modifié/adapté.

  7. #7
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Citation Envoyé par patmaba
    juste. Je la pompe ou cette image ?
    dans le JAR d'origine !

  8. #8
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    je fume. Je crois que mes problèmes pjc précédent me prenne la tete.

    Je vais vite reprendre l'image de france.

    merci

  9. #9
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Avez-vous testé le casse-briques ?

  10. #10
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    non pas encore.

    Pourquoi ?

  11. #11
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    Connaissez-vous un javabean qui permet de dessiner en runtime dans forms avec toutes les primitives de dessin. ligne, cercle, ...

    Bref un lib graphique java dans le rendu est affiché dans la bean area ?

  12. #12
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    Le test sur map ne fonctionne pas.

    Ma forms apparait mainteant la bean area est jaune et ma console java affiche ceci

    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
     
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
     
    	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     
    	at sun.applet.AppletClassLoader.access$100(Unknown Source)
     
    	at sun.applet.AppletClassLoader$1.run(Unknown Source)
     
    	at java.security.AccessController.doPrivileged(Native Method)
     
    	at sun.applet.AppletClassLoader.findClass(Unknown Source)
     
    	at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
     
    	at java.lang.ClassLoader.loadClass(Unknown Source)
     
    	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     
    	at java.lang.ClassLoader.loadClass(Unknown Source)
     
    	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     
    	at java.lang.Class.forName0(Native Method)
     
    	at java.lang.Class.forName(Unknown Source)
     
    	at oracle.forms.handler.UICommon.instantiate(Unknown Source)
     
    	at oracle.forms.handler.UICommon.onCreate(Unknown Source)
     
    	at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
     
    	at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
     
    	at oracle.forms.engine.Runform.processMessage(Unknown Source)
     
    	at oracle.forms.engine.Runform.processSet(Unknown Source)
     
    	at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     
    	at oracle.forms.engine.Runform.onMessage(Unknown Source)
     
    	at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
     
    	at oracle.forms.engine.Runform.startRunform(Unknown Source)
     
    	at oracle.forms.engine.Main.createRunform(Unknown Source)
     
    	at oracle.forms.engine.Main.start(Unknown Source)
     
    	at sun.applet.AppletPanel.run(Unknown Source)
     
    	at java.lang.Thread.run(Unknown Source)
    bizare

  13. #13
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Vous pouvez dessiner ce que vous voulez dans le bean. Il suffit de surcharger la méthode paint() ou de créer votre propre routine d'affichage.

  14. #14
    Expert confirmé
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Par défaut
    Avez-vous testé le jar d'origine ?

  15. #15
    Membre très actif
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    422
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Avril 2004
    Messages : 422
    Par défaut
    Ok, çà marche

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 0
    Dernier message: 28/03/2011, 16h24
  2. ActionForm Class & Form-Bean Mapping
    Par machipot dans le forum Struts 1
    Réponses: 1
    Dernier message: 12/07/2007, 22h34
  3. Réponses: 5
    Dernier message: 03/07/2007, 14h06
  4. Cannot retrieve definition for form bean:
    Par Baptiste Wicht dans le forum Struts 1
    Réponses: 11
    Dernier message: 10/10/2006, 19h27
  5. Réponses: 6
    Dernier message: 13/09/2006, 19h02

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