9 Replies Latest reply on Mar 18, 2011 12:36 PM by Fericit Bostan

    Unable to get skins to load in RF CR1

    Fericit Bostan Newbie

      I've gone over all of my configurations several times but I can't seem to locate my mistake. No matter what I try I simply can't get the skins to load. I've even tried specifying an invalid skin with hopes of receiving an exception but instead I got nothing.

       

      Here is my simple page:

      <!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:f="http://java.sun.com/jsf/core"

                xmlns:ui="http://java.sun.com/jsf/facelets"

                xmlns:a4j="http://richfaces.org/a4j">

      <f:view contentType="text/html">

          <style>

      .outhello {

          font-weight: bold;

      }

      </style>

          <h:form>

          <h:head></h:head>

          <h:body>

              <h:panelGrid columns="3">

                  <h:outputText value="Name:" />

                  <h:inputText value="#{userBean.name}" />

                  <a4j:commandButton value="Say Hello" render="out" execute="@form" />

              </h:panelGrid>

              </h:body>

          </h:form>

          <br />

          <a4j:outputPanel id="out">

              <h:outputText value="Hello #{userBean.name} !"

                  rendered="#{not empty userBean.name}" styleClass="outhello" />

          </a4j:outputPanel>   

      </f:view>

      </html>

       

       

      here is my web.xml

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

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"

          version="2.5">

          <display-name>address-web2</display-name>

          <context-param>

              <param-name>org.richfaces.enableControlSkinning</param-name>

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

          </context-param>

          <context-param>

              <param-name>org.richfaces.enableControlSkinningClasses</param-name>

              <param-value>false</param-value>

          </context-param>

          <context-param>

              <param-name>org.richfaces.skin</param-name>

              <param-value>superNastySkin</param-value>

          </context-param>   

          <context-param>

              <description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>

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

              <param-value>client</param-value>

          </context-param>

       

          <servlet>

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

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

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

          </servlet>

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

       

          <mime-mapping>

              <extension>ecss</extension>

              <mime-type>text/css</mime-type>

          </mime-mapping>   

          <session-config>

              <session-timeout>15</session-timeout>

          </session-config>

          <context-param>

              <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>

              <param-value>resources.application</param-value>

          </context-param>

          <listener>

              <listener-class>com.sun.faces.config.ConfigureListener</listener-class>

          </listener>

          <listener>

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

          </listener>

          <listener>

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

          </listener>

          <listener>

              <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>

          </listener>   

          <welcome-file-list>

              <welcome-file>welcome.jsf</welcome-file>

          </welcome-file-list>

       

      </web-app>


      Here is my pom.xml

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

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

        <modelVersion>4.0.0</modelVersion>

                <groupId>com.mycompany</groupId>

        <artifactId>simple-app</artifactId>

        <packaging>war</packaging>

        <version>1.0.1</version>

       

       

        <properties>

        <org.springframework.version>3.0.2.RELEASE</org.springframework.version>

        <org.richfaces.ui.version>4.0.0.20100715-M1</org.richfaces.ui.version>

        </properties>

       

        <dependencyManagement>

        <dependencies>

        <dependency>

                                              <groupId>org.richfaces</groupId>

        <artifactId>richfaces-bom</artifactId>

                                              <version>${org.richfaces.ui.version}</version>

                                              <scope>import</scope>

        <type>pom</type>

        </dependency>

        </dependencies>

        </dependencyManagement>

       

        <dependencies>

        <!-- JEE API -->

        <dependency>

                                    <groupId>org.glassfish.extras</groupId>

                                    <artifactId>glassfish-embedded-all</artifactId>

        <version>3.1</version>

                                    <scope>runtime</scope>

        <optional>true</optional>

        </dependency>

        <!-- provided dependencies are not copied into the WEB-INF/lib directory -->

        <dependency>

        <groupId>javax</groupId>

        <artifactId>javaee-api</artifactId>

        <version>6.0</version>

                                    <scope>provided</scope>

        </dependency>

              <dependency>

                  <groupId>el-impl</groupId>

                  <artifactId>el-impl</artifactId>

                  <scope>runtime</scope>

                  <version>1.0</version>

              </dependency>            

        <!-- Spring -->

        <dependency>

                                    <groupId>org.springframework</groupId>

        <artifactId>spring-context</artifactId>

                                    <version>${org.springframework.version}</version>

                                    <scope>compile</scope>

        </dependency>

        <dependency>

                                    <groupId>org.springframework</groupId>

        <artifactId>spring-orm</artifactId>

                                    <version>${org.springframework.version}</version>

                                    <scope>compile</scope>

        </dependency>

        <dependency>

                                    <groupId>org.springframework</groupId>

        <artifactId>spring-web</artifactId>

                                    <version>${org.springframework.version}</version>

        <type>jar</type>

                                    <scope>runtime</scope>

        </dependency>

        <!-- Rich Faces -->

        <dependency>

                                    <groupId>org.richfaces.cdk</groupId>

        <artifactId>annotations</artifactId>

                                    <scope>provided</scope>

                                    <version>${org.richfaces.ui.version}</version>

        </dependency>

        <dependency>

                                    <groupId>org.richfaces.ui</groupId>

                                    <artifactId>richfaces-components-ui</artifactId>

                                    <version>${org.richfaces.ui.version}</version>

        </dependency>

        <dependency>

                                    <groupId>org.richfaces.core</groupId>

                                    <artifactId>richfaces-core-impl</artifactId>

                                    <version>${org.richfaces.ui.version}</version>

        </dependency>

        <!-- SFL4J Logging -->

        <dependency>

        <groupId>org.slf4j</groupId>

        <artifactId>slf4j-jdk14</artifactId>

        <version>1.5.8</version>

        </dependency>

        <!-- the testing dependencies -->

        <dependency>

        <groupId>junit</groupId>

        <artifactId>junit</artifactId>

        <version>4.8.1</version>

        <scope>test</scope>

        </dependency>

        <dependency>

                                    <groupId>org.springframework</groupId>

        <artifactId>spring-test</artifactId>

                                    <version>${org.springframework.version}</version>

        <scope>test</scope>

        </dependency>

        </dependencies>

       

       

        <repositories>

        <repository>

                                    <id>org.jboss</id>

                                    <name>jboss projects</name>

                                    <url>https://repository.jboss.org/nexus/content/groups/public/</url>

        <releases>

        <enabled>true</enabled>

        </releases>

        <snapshots>

        <enabled>true</enabled>

        </snapshots>

        </repository>

        </repositories>

      </project>


       

      Thanks for the help...

        • 1. Unable to get skins to load in RF CR1
          Victor Augusto Zago Menegusso Newbie

          Hello Fericit Bostan

           

          a result is going well for you?

          http://community.jboss.org/servlet/JiveServlet/showImage/2-593516-14338/operador.jpg

          • 2. Unable to get skins to load in RF CR1
            Victor Augusto Zago Menegusso Newbie

            Fericit Bostan you found a solution to your problem?

            • 3. Unable to get skins to load in RF CR1
              Ilya Shaikovsky Master

              Fericit Bostan - move form inside the body.

               

              Victor Augusto Zago Menegusso - please clarify your concrete problem with code as the Fericit Bostan does. Make sure you using latest Portlet Bridge and having no problems with its configurations.

              • 4. Re: Unable to get skins to load in RF CR1
                Victor Augusto Zago Menegusso Newbie

                Hello Ilya Shaikovsky

                 

                I created a project using the eclipse Helios along with IDE liferay 1.2, creating a portletproject jsf 2.0

                 

                I'm using the portletfaces-bridge-2.0.0-BETA2.jar, got a problem?

                 

                my web.xml


                <?xml version="1.0"?>
                
                
                <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">
                          <context-param>
                                    <param-name>com.sun.faces.expressionFactory</param-name>
                                    <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
                          </context-param>
                
                          <context-param>
                              <param-name>org.richfaces.LoadScriptStrategy</param-name>
                              <param-value>ALL</param-value>
                          </context-param>
                
                          <context-param>
                              <param-name>org.richfaces.LoadStyleStrategy</param-name>
                              <param-value>ALL</param-value>
                          </context-param>
                
                          <context-param>
                              <param-name>org.richfaces.SKIN</param-name>
                              <param-value>blueSky</param-value>
                          </context-param>
                
                
                          <servlet>  
                                    <servlet-name>Faces Servlet</servlet-name>
                                    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                                    <load-on-startup>1</load-on-startup>
                          </servlet>
                          <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> 
                
                </web-app>       
                
                

                 

                 

                 

                portlet.xml

                 

                <?xml version="1.0"?>
                
                
                <portlet-app
                          version="2.0"
                          xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                          xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd"
                >
                          <portlet>
                                    <portlet-name>testeJSF</portlet-name>
                                    <display-name>TesteJSF</display-name>
                                    <portlet-class>org.portletfaces.bridge.GenericFacesPortlet</portlet-class>
                                    <init-param>
                                              <name>javax.portlet.faces.defaultViewId.view</name>
                                              <value>/xhtml/portletViewMode.xhtml</value>
                                    </init-param>
                                    <expiration-cache>0</expiration-cache>
                                    <supports>
                                              <mime-type>text/html</mime-type>
                                    </supports>
                                    <portlet-info>
                                              <title>TesteJSF</title>
                                              <short-title>TesteJSF</short-title>
                                              <keywords>TesteJSF</keywords>
                                    </portlet-info>
                                    <security-role-ref>
                                              <role-name>administrator</role-name>
                                    </security-role-ref>
                                    <security-role-ref>
                                              <role-name>guest</role-name>
                                    </security-role-ref>
                                    <security-role-ref>
                                              <role-name>power-user</role-name>
                                    </security-role-ref>
                                    <security-role-ref>
                                              <role-name>user</role-name>
                                    </security-role-ref>
                          </portlet>
                </portlet-app>
                
                

                 

                faces-config.xml

                 

                <?xml version="1.0"?>
                
                
                <faces-config
                    version="2.0"
                    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"
                >
                          <application>
                                    <message-bundle>i18nFaces</message-bundle>
                                    <resource-bundle>
                                              <base-name>i18n</base-name>
                                              <var>i18n</var>
                                    </resource-bundle>
                          </application>
                
                          <managed-bean>
                                    <managed-bean-name>JavaBean</managed-bean-name>
                                    <managed-bean-class>teste.JavaBean</managed-bean-class>
                                    <managed-bean-scope>session</managed-bean-scope>
                          </managed-bean>
                </faces-config>
                
                

                 

                liferay-portlet.xml

                 

                <?xml version="1.0"?>
                <!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.0.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_0_0.dtd">
                
                
                <liferay-portlet-app>
                          <portlet>
                                    <portlet-name>testeJSF</portlet-name>
                                    <icon>/icon.png</icon>
                                    <instanceable>false</instanceable>
                                    <ajaxable>false</ajaxable>
                          </portlet>
                          <role-mapper>
                                    <role-name>administrator</role-name>
                                    <role-link>Administrator</role-link>
                          </role-mapper>
                          <role-mapper>
                                    <role-name>guest</role-name>
                                    <role-link>Guest</role-link>
                          </role-mapper>
                          <role-mapper>
                                    <role-name>power-user</role-name>
                                    <role-link>Power User</role-link>
                          </role-mapper>
                          <role-mapper>
                                    <role-name>user</role-name>
                                    <role-link>User</role-link>
                          </role-mapper>
                </liferay-portlet-app>
                
                

                 

                I'm using this jars:

                portletfaces-bridge-2.0.0-BETA2.jar

                richfaces-components-api-4.0.0.20110227-CR1.jar

                richfaces-components-ui-4.0.0.20110227-CR1.jar

                richfaces-core-api-4.0.0.20110227-CR1.jar

                richfaces-core-impl-4.0.0.20110227-CR1.jar

                sac-1.3.jar

                jsf-impl-2.0.4-b02.jar

                jsf-api-2.0.jar

                jboss-el-2.0.0.GA.jar

                guava-r08.jar

                cssparser-0.9.5.jar

                • 5. Re: Unable to get skins to load in RF CR1
                  Victor Augusto Zago Menegusso Newbie

                  I forgot

                   

                   

                  xhtml

                   

                  <?xml version="1.0"?>
                  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                  
                  
                  <f:view
                            xmlns:f="http://java.sun.com/jsf/core"
                            xmlns:h="http://java.sun.com/jsf/html"
                            xmlns:ui="http://java.sun.com/jsf/facelets"
                            xmlns:a4j="http://richfaces.org/a4j"
                      xmlns:rich="http://richfaces.org/rich"
                  >
                            <h:head />
                            <h:body>
                  
                                                 <rich:calendar />
                                                #{JavaBean.texto}
                                                #{JavaBean.texto}
                                          <rich:tabPanel switchType="client">
                                              <rich:tab label="First">
                                                  Here is tab #1
                                              </rich:tab>
                                              <rich:tab label="Second">
                                                  Here is tab #2
                                              </rich:tab>
                                              <rich:tab label="Third">
                                                  Here is tab #3
                                              </rich:tab>
                                          </rich:tabPanel>
                  
                  
                            </h:body>
                  </f:view>
                  
                  
                  • 6. Re: Unable to get skins to load in RF CR1
                    Ilya Shaikovsky Master

                    sorry but I've used only jboss portlet bridge.. the same as Alex S answered there. http://community.jboss.org/message/593773#593773

                    • 7. Unable to get skins to load in RF CR1
                      Victor Augusto Zago Menegusso Newbie

                      thanks Ilya Shaikovsky

                       

                      I will try using the jboss portlet bridge in Liferay

                      • 8. Re: Unable to get skins to load in RF CR1
                        Victor Augusto Zago Menegusso Newbie

                        I put the following jar

                        portletbridge-api-2.1.0.FINAL.jar

                        portletbridge-impl-2.1.0.FINAL.jar

                         

                        I did deploy and when I entered the page

                        my stacktrace:

                         

                         

                        16:19:34,651 INFO  [PortletHotDeployListener:220] Registering portlets for testeJSF-portlet
                        16:19:34,780 INFO  [PortletHotDeployListener:369] 1 portlet for testeJSF-portlet is available for use
                        16:19:36,475 INFO  [PortletViewHandler:92] No Facelets library is present
                        16:19:48,941 ERROR [PortletServlet:96] javax.portlet.PortletException: Error process faces request
                        javax.portlet.PortletException: Error process faces request
                                  at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:600)
                                  at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:486)
                                  at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
                                  at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:457)
                                  at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
                                  at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
                                  at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
                                  at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                                  at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:638)
                                  at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:723)
                                  at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:425)
                                  at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(Unknown Source)
                                  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
                                  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
                                  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                                  at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3723)
                                  at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1180)
                                  at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:160)
                                  at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processPortlet(RuntimePortletUtil.java:94)
                                  at com.liferay.portlet.layoutconfiguration.util.velocity.PortletColumnLogic.processContent(PortletColumnLogic.java:132)
                                  at com.liferay.portlet.layoutconfiguration.util.velocity.TemplateProcessor.processColumn(TemplateProcessor.java:64)
                                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                  at java.lang.reflect.Method.invoke(Method.java:597)
                                  at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
                                  at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
                                  at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
                                  at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
                                  at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
                                  at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
                                  at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
                                  at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
                                  at org.apache.velocity.Template.merge(Template.java:328)
                                  at org.apache.velocity.Template.merge(Template.java:235)
                                  at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)
                                  at com.liferay.portal.velocity.VelocityEngineImpl.mergeTemplate(VelocityEngineImpl.java:155)
                                  at com.liferay.portal.kernel.velocity.VelocityEngineUtil.mergeTemplate(VelocityEngineUtil.java:61)
                                  at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:224)
                                  at com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil.processTemplate(RuntimePortletUtil.java:181)
                                  at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(Unknown Source)
                                  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
                                  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
                                  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                                  at com.liferay.portal.action.LayoutAction.includeLayoutContent(LayoutAction.java:361)
                                  at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:618)
                                  at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:229)
                                  at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                                  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                                  at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)
                                  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                                  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                                  at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
                                  at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:137)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                                  at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
                                  at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
                                  at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
                                  at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:133)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:261)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter.processFilter(ThemePreviewFilter.java:88)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:126)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:221)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:239)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
                                  at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
                                  at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                                  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
                                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
                                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
                                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
                                  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
                                  at java.lang.Thread.run(Thread.java:619)
                        Caused by: javax.portlet.faces.BridgeException: Error processing render lifecycle
                                  at org.jboss.portletbridge.ExceptionHandlerBase.processRenderException(ExceptionHandlerBase.java:72)
                                  at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:689)
                                  at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:598)
                                  ... 213 more
                        Caused by: java.lang.UnsupportedOperationException
                                  at javax.faces.context.FacesContext.setCurrentPhaseId(FacesContext.java:682)
                                  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:82)
                                  at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
                                  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
                                  at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:1163)
                                  at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:647)
                                  ... 214 more
                        16:19:48,949 ERROR [jsp:154] java.lang.UnsupportedOperationException
                                  at javax.faces.context.FacesContext.setCurrentPhaseId(FacesContext.java:682)
                                  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:82)
                                  at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
                                  at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
                                  at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:1163)
                                  at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:647)
                                  at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:598)
                                  at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:486)
                                  at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
                                  at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:457)
                                  at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
                                  at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:101)
                                  at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
                                  at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
                                  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                                  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                        
                        
                        
                        • 9. Unable to get skins to load in RF CR1
                          Fericit Bostan Newbie

                          I found my problem. I don't know where I got the value from, clearly an old version of my pom, but I had the wrong version of RichFaces 4 specified in my pom.xml.

                           

                          4.0.0.20100715-M1

                           

                          and it should have been:

                           

                          4.0.0.20110227-CR1 or simply 4.0.0.CR1

                           

                           

                          I had to look at this long and hard before I actually saw my issue.

                          Thanks for the help...