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

Tapestry Java Discussion :

probleme avec tutoriel


Sujet :

Tapestry Java

  1. #1
    Membre habitué

    Profil pro
    Inscrit en
    Décembre 2002
    Messages
    153
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2002
    Messages : 153
    Points : 138
    Points
    138
    Par défaut probleme avec tutoriel
    bonjour,

    j'essaye ce tutoriel : http://baptiste-meurant.developpez.c...ernate/#LVII.A

    j'en suis au moment de tester sur le serveur avec la page "login"

    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
     
    <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
        <head>
            <title>Login</title>
        </head>
        <body>
    	  <div id="login_box">
    	     <t:form>
    	         <t:errors />
    		   <table>
    		       <tr>
    			     <td><label t:type="Label" for="login" class="login_label"/></td>
    			     <td><input t:type="TextField" t:id="login" t:value="login" t:label="login " 
    				 					 class="login_input" /></td>
    			 </tr>
    			 <tr>
    			     <td><label t:type="Label" for="password" class="login_label"/></td>
    				  <td><input t:type="PasswordField" t:id="password" t:value="password" t:label="password " 
    				  					  class="login_input" /></td>
    			    </tr>
    			    <tr>
    			        <td><input t:id="submitform" t:type="Submit" t:value="submit" class="login_submit"/></td>
    			    </tr>
    			</table>				
    		   </t:form>
    		</div>
    	</body>
    </html>
    j'ai une page qui s'affiche, mais qui est incorrect et en regardant la source j'ai


    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
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
        <head>
            <title>Login</title>
        </head>
        <body>
    	  <div id="login_box">
    	     <t:form>
    	         <t:errors />
     
    		   <table>
    		       <tr>
    			     <td><label t:type="Label" for="login" class="login_label"/></td>
    			     <td><input t:type="TextField" t:id="login" t:value="login" t:label="login " 
    				 					 class="login_input" /></td>
    			 </tr>
    			 <tr>
    			     <td><label t:type="Label" for="password" class="login_label"/></td>
    				  <td><input t:type="PasswordField" t:id="password" t:value="password" t:label="password " 
    				  					  class="login_input" /></td>
    			    </tr>
     
    			    <tr>
    			        <td><input t:id="submitform" t:type="Submit" t:value="submit" class="login_submit"/></td>
     
    			    </tr>
    			</table>				
    		   </t:form>
    		</div>
    	</body>
    </html>
    donc les " t: " ne sont pas interprété :/
    pourtant j'ai bien suvi le tuto, ou même essayer avec les sources de l'auteur

    si quelqu'un a une idée
    merci

  2. #2
    Membre habitué
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    238
    Détails du profil
    Informations personnelles :
    Âge : 36
    Localisation : France, Indre et Loire (Centre)

    Informations forums :
    Inscription : Avril 2009
    Messages : 238
    Points : 183
    Points
    183
    Par défaut
    Bonjour,

    A-tu bien inclus les librairies tapestry? et les bonnes versions?

  3. #3
    Membre habitué

    Profil pro
    Inscrit en
    Décembre 2002
    Messages
    153
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2002
    Messages : 153
    Points : 138
    Points
    138
    Par défaut
    les library sont inclues dans le projet qui est associé au tutoriel

  4. #4
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Octobre 2009
    Messages
    28
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2009
    Messages : 28
    Points : 36
    Points
    36
    Par défaut
    Salut,
    Je n'ai pas rencontré ce problème donc difficille de savoir d'ou cela peut venir, les extensions de tes pages html sont bien en .tml?
    Car sur le tuto je vois :
    • Créer un fichier nommé Login.html sous WEB-INF


    il faut nommer les extensions de tes pages .tml

    bon courage,

  5. #5
    Membre habitué

    Profil pro
    Inscrit en
    Décembre 2002
    Messages
    153
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2002
    Messages : 153
    Points : 138
    Points
    138
    Par défaut
    merci, c'est exactement ca,

    erreur dans le tuto donc

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

Discussions similaires

  1. [AC-2007] probleme avec tutoriel Multi-Utilisateur de Dolphy35
    Par robyseb dans le forum VBA Access
    Réponses: 1
    Dernier message: 25/01/2012, 22h58
  2. Probleme avec la copie des surfaces
    Par Black_Daimond dans le forum DirectX
    Réponses: 3
    Dernier message: 09/01/2003, 10h33
  3. probleme avec la touche F10
    Par b.grellee dans le forum Langage
    Réponses: 2
    Dernier message: 15/09/2002, 22h04
  4. Probleme avec fseek
    Par Bjorn dans le forum C
    Réponses: 5
    Dernier message: 04/08/2002, 07h17
  5. [Kylix] probleme avec un imagelist
    Par NicoLinux dans le forum EDI
    Réponses: 4
    Dernier message: 08/06/2002, 23h06

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