10 Replies Latest reply on Apr 3, 2011 12:53 PM by Anuj Kumar

    org.richgaces.renderkit.html

    arturo eduardo cabrera cordoba Newbie

      Hi, I am used rich 4.0.0.0.final (3.3.3.final to 4.0.0.final) I have the following error:

       

      Source Document: jar:file:/home/acabrera/.m2/repository/org/richfaces/ui/richfaces-components-ui/4.0.0.Final/richfaces-components-ui-4.0.0.Final.jar!/META-INF/faces-config.xml|  Cause: Class 'org.richfaces.renderkit.html.QueueRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/event/ComponentSystemEventListener

       

      my faces-config.xml is this:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <faces-config version="1.2" 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-facesconfig_1_2.xsd">

          <application>

       

              <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

       

              <!-- <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>-->

              <message-bundle>ar.ong.padres.web.config.properties.messages</message-bundle>

              <!-- define el idioma -->

              <locale-config>

                  <default-locale>es</default-locale>

              </locale-config>

              <!--

       

               -->

       

          </application>

       

       

      thanks...

        • 2. org.richgaces.renderkit.html
          Nick Belaevski Master

          Hi,

           

          RichFaces 4 works with JSF 2. JSF 1.2 is not supported by this version.

          • 3. org.richgaces.renderkit.html
            arturo eduardo cabrera cordoba Newbie

            Hi, thanks. my project dependencies are:

             

            [INFO] +- commons-collections:commons-collections:jar:3.2.1:compile

            [INFO] +- commons-logging:commons-logging:jar:1.1.1:compile

            [INFO] +- ar.com.excle.commons:commons-web:jar:0.02.02-SNAPSHOT:compile

            [INFO] |  +- ar.com.excle.commons:commons-audit:jar:0.01.01-SNAPSHOT:compile

            [INFO] |  +- ar.com.excle.commons:commons-hibernate:jar:0.01.01-SNAPSHOT:compile

            [INFO] |  \- org.jasypt:jasypt:jar:1.5:compile

            [INFO] |     \- commons-codec:commons-codec:jar:1.1:compile

            [INFO] +- spring-modules:spring-modules-jbpm31:jar:0.9-dev:compile

            [INFO] |  +- jboss:jbpm-jpdl:jar:3.2.3:compile (version managed from 3.2.2)

            [INFO] |  \- jboss:jbpm-identity:jar:3.2.3:compile (version managed from 3.2.2)

            [INFO] +- javax.servlet:servlet-api:jar:2.4:provided

            [INFO] +- javax.servlet:jstl:jar:1.1.2:runtime (scope not updated to compile)

            [INFO] +- taglibs:standard:jar:1.1.2:compile

            [INFO] +- log4j:log4j:jar:1.2.12:compile

            [INFO] +- com.sun.faces:jsf-api:jar:2.0.0:compile

            [INFO] +- com.sun.faces:jsf-impl:jar:2.0.0:compile

            [INFO] +- com.sun.facelets:jsf-facelets:jar:1.1.15.B1:compile

            [INFO] +- org.richfaces.ui:richfaces-components-ui:jar:4.0.0.Final:compile

            [INFO] |  \- org.richfaces.ui:richfaces-components-api:jar:4.0.0.Final:compile

            [INFO] +- org.richfaces.core:richfaces-core-api:jar:4.0.0.Final:compile

            [INFO] |  \- com.google.guava:guava:jar:r08:compile

            [INFO] +- org.richfaces.core:richfaces-core-impl:jar:4.0.0.Final:compile

            [INFO] |  \- net.sourceforge.cssparser:cssparser:jar:0.9.5:compile

            [INFO] |     \- org.w3c.css:sac:jar:1.3:compile

            [INFO] +- net.sf.jasperreports:jasperreports:jar:3.6.0:compile

            [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.8.0:compile

            [INFO] |  +- commons-digester:commons-digester:jar:1.7:compile

            [INFO] |  +- jfree:jcommon:jar:1.0.15:compile

            [INFO] |  +- jfree:jfreechart:jar:1.0.12:compile

            [INFO] |  +- xml-apis:xml-apis:jar:1.3.02:compile

            [INFO] |  \- eclipse:jdtcore:jar:3.1.0:compile

            [INFO] +- com.lowagie:itext:jar:2.1.0:compile

            [INFO] |  +- bouncycastle:bcmail-jdk14:jar:136:compile

            [INFO] |  \- bouncycastle:bcprov-jdk14:jar:136:compile

            [INFO] +- org.springframework:spring-web:jar:3.0.3.RELEASE:compile

            [INFO] |  +- aopalliance:aopalliance:jar:1.0:compile

            [INFO] |  +- org.springframework:spring-beans:jar:3.0.3.RELEASE:compile

            [INFO] |  +- org.springframework:spring-context:jar:3.0.3.RELEASE:compile

            [INFO] |  |  +- org.springframework:spring-expression:jar:3.0.3.RELEASE:compile

            [INFO] |  |  \- org.springframework:spring-asm:jar:3.0.3.RELEASE:compile

            [INFO] |  \- org.springframework:spring-core:jar:3.0.3.RELEASE:compile

            [INFO] +- javax.mail:mail:jar:1.4.1:compile

            [INFO] |  \- javax.activation:activation:jar:1.1:compile

            [INFO] +- ar.ong.padres.negocio:padres-negocio-impl:jar:0.0-SNAPSHOT:compile

            [INFO] |  +- ar.ong.padres.negocio:padres-negocio-api:jar:0.0-SNAPSHOT:compile

            [INFO] |  +- commons-lang:commons-lang:jar:2.4:compile

            [INFO] |  +- javax.transaction:jta:jar:1.0.1B:compile

            [INFO] |  +- org.hibernate:hibernate:jar:3.2.6.ga:compile

            [INFO] |  |  +- net.sf.ehcache:ehcache:jar:1.6.0:compile (version managed from 1.2.3)

            [INFO] |  |  +- asm:asm-attrs:jar:1.5.3:compile

            [INFO] |  |  +- dom4j:dom4j:jar:1.6.1:compile

            [INFO] |  |  +- antlr:antlr:jar:2.7.6:compile

            [INFO] |  |  +- cglib:cglib:jar:2.1_3:compile

            [INFO] |  |  \- asm:asm:jar:1.5.3:compile

            [INFO] |  +- org.hibernate:hibernate-annotations:jar:3.2.1.ga:compile

            [INFO] |  |  \- javax.persistence:persistence-api:jar:1.0:compile

            [INFO] |  +- org.springframework:spring-aop:jar:3.0.3.RELEASE:compile

            [INFO] |  +- org.springframework.security:spring-security-core-tiger:jar:2.0.6.RELEASE:compile

            [INFO] |  |  \- org.springframework.security:spring-security-core:jar:2.0.6.RELEASE:compile

            [INFO] |  +- org.springframework:spring-jdbc:jar:3.0.3.RELEASE:compile

            [INFO] |  +- org.springframework:spring-tx:jar:3.0.3.RELEASE:compile

            [INFO] |  +- org.springframework:spring-orm:jar:3.0.3.RELEASE:compile

            [INFO] |  +- org.springframework:spring-test:jar:3.0.3.RELEASE:compile

            [INFO] |  +- postgresql:postgresql:jar:8.3-603.jdbc3:compile

            [INFO] |  +- com.mchange.v2.c3p0:c3p0:jar:0.9.1.2:compile

            [INFO] |  \- junit:junit:jar:4.8.2:compile

            [INFO] \- commons-io:commons-io:jar:1.4:compil

             

            I am running this project with jetty-maven-plugin version 6.1.9 but I not know, how is the correct.

             

            I am using:

            spring 3.0.3.RELEASE

            richfaces 4.0.0.Final

             

            my faces-config is this:

             

            <?xml version="1.0" encoding="UTF-8"?>

            <faces-config >

                <application>

               

                    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

                                       

                    <!-- <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>-->

                    <message-bundle>ar.ong.padres.web.config.properties.messages</message-bundle>

                    <!-- define el idioma -->

                    <locale-config>

                        <default-locale>es</default-locale>

                    </locale-config>

                    <!--

                      -->

                </application>

                <!-- convertidores -->

                 <!-- Bean -->

                <managed-bean>

                    <managed-bean-name>asociadoBean</managed-bean-name>

                    <managed-bean-class>ar.ong.padres.web.bean.AsociadoBean</managed-bean-class>

                    <managed-bean-scope>request</managed-bean-scope>

                </managed-bean>

                <managed-bean>

                    <managed-bean-name>listaAsociadosBean</managed-bean-name>

                    <managed-bean-class>ar.ong.padres.web.bean.ListaAsociadosBean</managed-bean-class>

                    <managed-bean-scope>session</managed-bean-scope>

                </managed-bean>

                    <!-- fin de recaudos adicionales -->

                <!-- Navegacion del menu -->

                  <!-- Pagina de Login -->

                <navigation-rule>

                    <from-view-id>*</from-view-id>

                    <navigation-case>

                        <from-outcome>asociado</from-outcome>

                        <to-view-id>/pages/asociado.jspx</to-view-id>

                    </navigation-case>

                </navigation-rule>

               

                <navigation-rule>

                    <from-view-id>*</from-view-id>

                    <navigation-case>

                        <from-outcome>listaAsociados</from-outcome>

                        <to-view-id>/pages/listaAsociado.jspx</to-view-id>

                    </navigation-case>

                </navigation-rule>

                   

                <!-- Actualizar Tramite -->

                <!--

                <navigation-rule>

                    <from-view-id>/pages/actualizarTramite.jspx</from-view-id>

                    <navigation-case>

                        <from-outcome>consultarBandejaEntrada</from-outcome>

                        <to-view-id>/pages/bandejaEntradaTramite.jspx</to-view-id>

                    </navigation-case>

                </navigation-rule>

                 -->

                <!-- Fin RegistrarInspeccionBean -->

            </faces-config>     

             

            my web.xml is this:

             

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

             

                <!-- Definiciones globales del aplicativo -->

               

                <display-name>Escuela</display-name>

                <description>Escuela para padres</description>   

             

                <!-- PARA QUE EL JBOSS USE EL MYFACES DEL WAR -->

                <context-param>

                    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>

                    <param-value>.jspx</param-value>

                </context-param>

                <context-param>

                    <param-name>facelets.REFRESH_PERIOD</param-name>

                    <param-value>2</param-value>

                </context-param>

               

                <!-- PARA QUE EL JBOSS USE EL MYFACES DEL WAR -->

            <context-param>

                    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

                    <param-value>server</param-value>

                </context-param>   

                <context-param>

                    <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>

                    <param-value>true</param-value>

                </context-param>

                <!--

                <context-param>

                     <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>

                     <param-value>true</param-value>

                </context-param>

                 -->

                <context-param>

                    <param-name>facelets.DEVELOPMENT</param-name>

                    <param-value>true</param-value>

                </context-param>

                <context-param>

                    <param-name>facelets.SKIP_COMMENTS</param-name>

                    <param-value>true</param-value>

                </context-param>

               

                <context-param>

                    <param-name>javax.faces.application.CONFIG_FILES</param-name>

                    <param-value>/WEB-INF/faces-config.xml</param-value>

                </context-param>

               

                <context-param> 

                       <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> 

                       <param-value>com.sun.facelets.FaceletViewHandler</param-value> 

                 </context-param> 

                

                <!-- Fin de la carga -->

               

                <!-- Carga de componentes del contexto del aplicativo -->

                <context-param>

                    <param-name>contextConfigLocation</param-name>

                    <param-value>

                   

                        classpath:/ar/ong/padres/impl/config/spring-service.xml                        

                   

                    </param-value>

                </context-param>

                <context-param>

                    <description>

                        La pagina de error HTTP 500 sea customizada y no la de default

                      </description>

                    <param-name>org.apache.myfaces.ERROR_HANDLING</param-name>

                    <param-value>true</param-value>

                </context-param>

               

                <!-- Listener que tiene que estar para que funcione spring -->

                <listener>

                    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

                </listener>

                <!-- Listener que tiene que estar para que funcione spring-security -->

                <!--

                <listener>

                  <listener-class>org.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>                    

                </listener>

                 -->

                <!-- Filtros-->

               

                <!-- Filtro encoding. Define la codificación de caracteres en la que se representarán las páginas -->

                <filter>

                    <filter-name>encodingFilter</filter-name>

                    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>

                    <init-param>

                        <param-name>encoding</param-name>

                        <param-value>UTF-8</param-value>

                    </init-param>

                </filter>

               

                <!-- Filtro de spring-security, determina o define la seguridad del aplicativo  -->

                    <!--

                <filter>

                    <filter-name>Spring security Filter Chain Proxy</filter-name>

                    <filter-class>org.springframework.security.util.FilterToBeanProxy</filter-class>

                   

                    <init-param>

                        <param-name>targetBean</param-name>

                        <param-value>filterChainProxy</param-value>

                    </init-param>

                </filter>

                 -->

                <!--

                <filter>

                    <filter-name>Spring security Basic Filter Chain Proxy</filter-name>

                    <filter-class>org.springframework.security.util.FilterToBeanProxy</filter-class>

                    <init-param>

                        <param-name>targetBean</param-name>

                        <param-value>basicFilterChainProxy</param-value>

                    </init-param>

                </filter>

                 -->

                <!-- Filtro de hibernate.  -->

                    <!--

                <filter>

                    <filter-name>hibernateFilter</filter-name>

                    <filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>

                </filter >

                 -->

            <!--

                <filter>

                    <filter-name>firefoxFilter</filter-name>

                    <filter-class>ve.gob.alcaldia.workflow.web.util.FirefoxFilter</filter-class>

                </filter>   

                -->

                <!--

                <filter>

                    <filter-name>extensionsFilter</filter-name>

                    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>

                    <init-param>

                        <param-name>uploadMaxFileSize</param-name>

                        <param-value>100m</param-value>

                    </init-param>

                    <init-param>

                        <param-name>uploadThresholdSize</param-name>

                        <param-value>100k</param-value>

                    </init-param>

                </filter>

                 -->

            <!-- 

                <filter>

                     <display-name>RichFaces Filter</display-name>

                     <filter-name>richfaces</filter-name>

                     <filter-class>org.ajax4jsf.Filter</filter-class>

                     <init-param>

                    

                         <param-name>maxRequestSize</param-name>

                         <param-value>500000</param-value>

                     </init-param>

                     <init-param>

                         <param-name>createTempFiles</param-name>

                         <param-value>true</param-value>

                     </init-param>

                 </filter>

              -->

             

                <!-- Filtros de JSF -->

               

                <!-- Mapeo de los diferentes filtros -->

             

                <!--

                <filter-mapping>

                    <filter-name>richfaces</filter-name>

                    <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>

                </filter-mapping>

                <filter-mapping>

                    <filter-name>richfaces</filter-name>

                    <url-pattern>*.faces</url-pattern>

                </filter-mapping>

                <filter-mapping>

                    <filter-name>richfaces</filter-name>

                    <url-pattern>*.jspx</url-pattern>

                </filter-mapping>

                 -->

            <!-- 

                <filter-mapping>

                    <filter-name>richfaces</filter-name>

                    <servlet-name>Faces Servlet</servlet-name>

                    <dispatcher>REQUEST</dispatcher>

                    <dispatcher>FORWARD</dispatcher>

                    <dispatcher>INCLUDE</dispatcher>

                </filter-mapping>

            -->

                 <!--

                <filter-mapping>

                    <filter-name>firefoxFilter</filter-name>

                    <servlet-name>*.jsf</servlet-name>

                </filter-mapping>

                <filter-mapping>

                    <filter-name>firefoxFilter</filter-name>

                    <servlet-name>Faces Servlet</servlet-name>

                </filter-mapping>

                  -->

                <!-- Mapeo de Filter JSF -->

                <!--

                <filter-mapping>

                    <filter-name>richfaces</filter-name>

                    <servlet-name>Faces Servlet</servlet-name>

                    <dispatcher>REQUEST</dispatcher>

                    <dispatcher>FORWARD</dispatcher>

                    <dispatcher>INCLUDE</dispatcher>

                </filter-mapping>

                 -->

                <!--

                 <filter-mapping>

                   <filter-name>Spring security Filter Chain Proxy</filter-name>

                   <url-pattern>*.jsf</url-pattern>

                   <dispatcher>FORWARD</dispatcher>

                   <dispatcher>REQUEST</dispatcher>

               </filter-mapping>

               <filter-mapping>

                   <filter-name>Spring security Filter Chain Proxy</filter-name>

                   <url-pattern>*.jspx</url-pattern>

                   <dispatcher>FORWARD</dispatcher>

                   <dispatcher>REQUEST</dispatcher>

               </filter-mapping>

                -->

                <!-- IntrospectorCleanupListener -->

                <listener>

                    <listener-class>

                        org.springframework.web.util.IntrospectorCleanupListener</listener-class>

                </listener>

                 <!--

                <listener>

                    <listener-class>

                        org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

                </listener>

                  -->

                <!-- Servlet de JSF -->

                <servlet>

                    <servlet-name>Faces Servlet</servlet-name>

                    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

                    <load-on-startup>1</load-on-startup>

                </servlet>

               

               

                <!-- Mapping -->

                <servlet-mapping>

                    <servlet-name>Faces Servlet</servlet-name>

                    <url-pattern>*.jsf</url-pattern>

                </servlet-mapping>   

             

                  <jsp-config>

                    <jsp-property-group>

                        <url-pattern>*.jspx</url-pattern>

                        <page-encoding>UTF-8</page-encoding>

                        <trim-directive-whitespaces>

                            true

                        </trim-directive-whitespaces>

                    </jsp-property-group>

                </jsp-config>

             

            <!--

              <servlet>

                <description>Servlet auxiliar para ver los adjuntos</description>

                <display-name>ImagenView</display-name>

                <servlet-name>ImagenView</servlet-name>

                <servlet-class>ve.gob.alcaldia.workflow.web.beans.ImagenBean</servlet-class>

              </servlet>

              <servlet-mapping>

                <servlet-name>ImagenView</servlet-name>

                <url-pattern>/pages/imagen.view</url-pattern>

              </servlet-mapping>    

              -->

                <!--Este se debe sacar --> 

                   

                 <error-page>

                    <error-code>403</error-code>

                    <location>/pages/accesoDenegado.jsf</location>

                </error-page>

            <!--

                <error-page>

                    <exception-type>javax.faces.application.ViewExpiredException</exception-type>

                    <location>/redirect?url=/pages/login.jsf</location>

                </error-page>

            -->

                 <!-- Definicioón de las páginas de error y su correspondiente url -->

                 <!--

                <error-page>

                   <error-code>401</error-code>

                   <location>/bin/oopsss/?e=401</location>

                </error-page>

                <error-page>

                   <error-code>403</error-code>

                   <location>/bin/oopsss/?e=403</location>

                </error-page>

                <error-page>

                   <error-code>404</error-code>

                   <location>/bin/oopsss/?e=404</location>

                </error-page>

                <error-page>

                   <error-code>500</error-code>

                   <location>/bin/oopsss/?e=500</location>

                </error-page>

                 -->

                <session-config>

                    <session-timeout>20</session-timeout><!-- minutes of inactivity -->

                </session-config>

            </web-app>

            • 4. org.richgaces.renderkit.html
              Nick Belaevski Master

              Try to remove legacy FaceletViewHandler and declare version="2.0" in faces-config.xml.

              • 5. org.richgaces.renderkit.html
                arturo eduardo cabrera cordoba Newbie

                Hi,

                my faces-config.xml as follows:

                 

                <?xml version="1.0" encoding="UTF-8"?>

                <faces-config 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-facesconfig_2_0.xsd"

                              version="2.0">

                    <application>

                          <!--

                         <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>

                             -->           

                        <!--<view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>-->

                        <!--

                             <message-bundle>ar.ong.padres.web.config.properties.messages</message-bundle>       

                        <locale-config>

                            <default-locale>es</default-locale>

                        </locale-config>

                         -->

                       

                    </application>

                ....

                 

                 

                but now, the app not recognize tags.

                now the browser show the pages in xml format.

                 

                 

                 

                        Este fichero XML no parece tener ninguna información de estilo asociada. Se muestra debajo el árbol del documento.

                     

                <ui:composition template="/includes/template.jspx">

                <ui:define name="title">

                  .:: Escuela para padres ::.

                    </ui:define>

                <ui:define name="body">

                turo

                    </ui:define>

                </ui:composition>

                 


                • 7. org.richgaces.renderkit.html
                  arturo eduardo cabrera cordoba Newbie

                  not, I dont. I working with .jspx pages.

                  • 8. org.richgaces.renderkit.html
                    Nick Belaevski Master

                    Try setting javax.faces.FACELETS_SUFFIX to .jspx BTW.

                    • 9. org.richgaces.renderkit.html
                      arturo eduardo cabrera cordoba Newbie

                      hi, my web.xml is this:

                       

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

                       

                          <!-- Definiciones globales del aplicativo -->

                         

                          <display-name>Escuela</display-name>

                          <description>Escuela para padres</description>

                          <!--    

                          -->

                          <context-param>

                              <param-name>org.richfaces.fileUpload.maxRequestSize</param-name>

                              <param-value>100000</param-value>

                          </context-param>

                          <context-param>

                              <param-name>org.richfaces.fileUpload.createTempFiles</param-name>

                              <param-value>true</param-value>

                          </context-param>

                          <context-param>

                              <param-name>javax.faces.PROJECT_STAGE</param-name>

                              <param-value>Development</param-value>

                          </context-param>

                          <context-param>

                              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

                              <param-value>server</param-value>

                          </context-param>

                         

                          <!-- PARA QUE EL JBOSS USE EL MYFACES DEL WAR -->

                          <context-param>

                              <!-- deprecated

                          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>

                           -->

                              <param-name>javax.faces.FACELETS_SUFFIX</param-name>       

                              <param-value>.jspx</param-value>

                          </context-param>

                          <context-param>

                          <!-- deprecate 

                          <param-name>facelets.REFRESH_PERIOD</param-name>-->

                          <param-name>javax.faces.FACELETS_REFRESH_PERIOD</param-name>

                             

                              <param-value>2</param-value>

                          </context-param>

                         

                          <!-- PARA QUE EL JBOSS USE EL MYFACES DEL WAR -->

                             

                          <context-param>

                              <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>

                              <param-value>true</param-value>

                          </context-param>

                          <!--

                         

                           -->

                          <context-param>

                              <param-name>facelets.DEVELOPMENT</param-name>

                              <param-value>true</param-value>

                          </context-param>

                          <context-param>

                              <!-- deprecate -->

                              <!-- <param-name>facelets.SKIP_COMMENTS</param-name>-->

                              <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>

                              <param-value>true</param-value>

                          </context-param>

                         

                          <context-param>

                              <param-name>javax.faces.application.CONFIG_FILES</param-name>

                              <param-value>/WEB-INF/faces-config.xml</param-value>

                          </context-param>

                          <!--

                          <context-param> 

                                 <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> 

                                 <param-value>com.sun.facelets.FaceletViewHandler</param-value> 

                           </context-param> 

                            -->

                          <!-- Fin de la carga -->

                         

                          <!-- Carga de componentes del contexto del aplicativo -->

                          <context-param>

                              <param-name>contextConfigLocation</param-name>

                              <param-value>

                             

                                  classpath:/ar/ong/padres/impl/config/spring-service.xml                        

                             

                              </param-value>

                          </context-param>

                         

                         

                          <!-- Listener que tiene que estar para que funcione spring -->

                          <listener>

                              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

                          </listener>

                          <!-- Filtros-->

                         

                          <!-- Filtro encoding. Define la codificación de caracteres en la que se representarán las páginas -->

                          <filter>

                              <filter-name>encodingFilter</filter-name>

                              <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>

                              <init-param>

                                  <param-name>encoding</param-name>

                                  <param-value>UTF-8</param-value>

                              </init-param>

                          </filter>

                         

                       

                          <!-- Filtros de JSF -->

                         

                          <!-- Mapeo de los diferentes filtros -->

                       

                          <!-- Mapeo de Filter JSF -->

                          <!-- IntrospectorCleanupListener -->

                          <listener>

                              <listener-class>

                                  org.springframework.web.util.IntrospectorCleanupListener</listener-class>

                          </listener>

                           <!--

                            -->

                          <!-- Servlet de JSF -->

                          <servlet>

                              <servlet-name>Faces Servlet</servlet-name>

                              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

                              <load-on-startup>1</load-on-startup>

                          </servlet>

                         

                         

                          <!-- Mapping -->

                          <servlet-mapping>

                              <servlet-name>Faces Servlet</servlet-name>

                              <url-pattern>*.jsf</url-pattern>

                          </servlet-mapping>   

                       

                          <servlet-mapping>

                              <servlet-name>Faces Servlet</servlet-name>

                              <url-pattern>/faces/*</url-pattern>

                          </servlet-mapping>

                         

                            <jsp-config>

                              <jsp-property-group>

                                  <url-pattern>*.jspx</url-pattern>

                                  <page-encoding>UTF-8</page-encoding>

                                  <trim-directive-whitespaces>

                                      true

                                  </trim-directive-whitespaces>

                              </jsp-property-group>

                          </jsp-config>

                       

                      <!--

                            

                        -->

                          <!--Este se debe sacar --> 

                             

                           <error-page>

                              <error-code>403</error-code>

                              <location>/pages/accesoDenegado.jsf</location>

                          </error-page>

                      <!--

                      -->

                           <!-- Definicioón de las páginas de error y su correspondiente url -->

                           <!--

                         

                           -->

                          <session-config>

                              <session-timeout>20</session-timeout><!-- minutes of inactivity -->

                          </session-config>

                      </web-app>

                       

                       

                      but now, I have this error:

                       

                      HTTP ERROR 404

                      Problem accessing /pages/asociado.jsf. Reason:

                          /pages/asociado.jsf not found

                      Powered by Jetty://

                                                                     

                       

                      mmm as if the server did not understand....

                      • 10. org.richgaces.renderkit.html
                        Anuj Kumar Newbie

                        Remove this entry-

                         

                        <context-param>

                                <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>

                                <param-value>true</param-value>

                        </context-param>