Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-17824

Not able to get Richfaces4 Skin on Liferay6.0.6

    Details

      Description

      I have Richfaces4 based Lifray Portal deployed on Tomcat 6. I have problem in viewing the skin. I am using JSF2, Facelets, Richfaces4, portletfaces-bridge-2.0.0. Initially i was getting url as /test/rfRes/skinning.ecss?db=eAHzX7%21yOgAFdgJ%

      After i made below chnage in org.portletfaces.bridge.application.ResourceHandlerImpl.java

      public static boolean isFacesResourceURL(String url) {

      if ((url != null) && (url.indexOf(JAVAX_FACES_RESOURCE) >= 0 || url.indexOf(RICH_FACES_RESOURCE) >= 0))

      { return true; }

      else

      { return false; }

      }

      I am getting URL as

      http://localhost:8080/web/guest/vijayan?_1_WAR_allen_INSTANCE_nhL6_db=eAHzX7%21yOgAFdgJ%21&_1_WAR_allen_INSTANCE_nhL6_rfRes=skinning.ecss&p_p_cacheability=cacheLevelPage&p_p_col_count=1&p_p_col_id=column-1&p_p_id=1_WAR_allen_INSTANCE_nhL6&p_p_lifecycle=2&p_p_mode=view&p_p_state=normal

      Still i don't see the css loaded properly. I am not sure what i am missing.

      Web.xml

      <context-param>
      <param-name>org.richfaces.skin</param-name>
      <param-value>classic</param-value>
      </context-param>
      <!-- wine, ruby, blueSky, classic,deepMarine, DEFAULT, emeraldTown, japanCherry,
      plain -->
      <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>false</param-value>
      </context-param>
      <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>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>

        Attachments

        1. Richfaces-Lifray-Skin-Issue.bmp
          960 kB
        2. temp.zip
          817 kB
        3. test.zip
          31 kB

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            vijayan Vijayan (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 years, 9 weeks ago

                Packages

                Version Package
                --Sprint 12/11
                6.1.0 CE RC1