0 Replies Latest reply on Nov 12, 2010 11:17 AM by agustincarban

    Can't install richfaces in netbeans...

    agustincarban

      Hi Guys !. Just wanted to know what I'm missing when trying to configure richfaces in netbeans !, because when I try to run the project I get the followinf message:

      Initializing...
      deploy?path=C:\Documents and Settings\Agustin\Mis documentos\NetBeansProjects\WebApp\build\web&name=WebApp&force=true failed on GlassFish Server 3
      C:\Documents and Settings\Agustin\Mis documentos\NetBeansProjects\WebApp\nbproject\build-impl.xml:700: The module has not been deployed.
      BUILD FAILED (total time: 4 seconds)

       

      when I clicked in the xml file, I am taken to and xml file and I am point to this line:

      <target if="netbeans.home" name="-run-deploy-nb">
              <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
      </target>

       

      I attached a photo so as I you can have more details. In the first photo you have the jar files and in the second the configuration I made, who is the following one:

      <!— Skin used by RichFaces -->
      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>laguna</param-value>
      </context-param>
      <!-- Use RichFaces also for standard HTML controls -->
      <context-param>
      <param-name>org.richfaces.CONTROL_SKINNING</param-name>
      <param-value>enable</param-value>
      </context-param>

       

      and this one:

      <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>

       

      the xhtml file I wanna run is this one:

      <?xml version='1.0' encoding='UTF-8' ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:rich="http://richfaces.org/rich"
            xmlns:a="http://richfaces.org/a4j">
          <h:head>
              <title>Facelet Title</title>
          </h:head>
          <h:body>
              <rich:calendar></rich:calendar>
              Hello from Facelets
          </h:body>
      </html>

       

      My condifg details are:

      FireFox 3.6.12

      NetBeans IDE v6.9.1

      FrameWorks: Java Server Faces (Preferred Page Language: FaceLets) Use default Library

      GlassFish Server 3 - Java EE 6 Web

       

      Hope I can get help !!! I live in Cordoba Argentina... So a big HI for all from here !