Hamma

1379 mots 6 pages
Tutoriel richfaces 3.3.3 votre première application jsf-richfaces I. Prérequis : 1. Installation de jboss 4.2.2 sous eclipse. 2. Développement d’un projet EJB « EJBProject »
Nb : Vous trouvez ce projet sous forme d’un jar dans le dossier projects. II. création projet « RichfacesProject »
Dans ce tuto on va apprendre comment créer un projet jsf richfaces sous éclipse.
Au début créer un nouveau projet, File->New et sélectionner DynamicWebProject.

Entrez le nom du projet et cliquez sur finish

Ajouter la facet jsf(version 1.2)

Ajouter ces jars au dossier WEB-INF\lib.

Copiez et collez ces lignes dans le descripteur de déploiement web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>RichefacesProject</display-name> <context-param> <param-name>org.richfaces.CONTROL_SKINNING</param-name> <param-value>enable</param-value> </context-param> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>h</param-value> </context-param> <filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter>

<filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener>

en relation

  • hama
    278 mots | 2 pages
  • hamouee
    947 mots | 4 pages
  • hiba
    1953 mots | 8 pages
  • hamza
    785 mots | 4 pages
  • hibhib
    302 mots | 2 pages
  • Hachabou
    5792 mots | 24 pages
  • Hamzaa
    770 mots | 4 pages
  • Hamza
    2023 mots | 9 pages
  • durham
    1122 mots | 5 pages
  • Hamza
    6238 mots | 25 pages
  • hamzola
    8175 mots | 33 pages
  • Hamen
    557 mots | 3 pages
  • Habdoula
    258 mots | 2 pages
  • Java servlet Framework
    3252 mots | 14 pages
  • Hamhed
    486 mots | 2 pages