4 Replies Latest reply on Jan 13, 2012 11:34 AM by Lukáš Fryč

    Use richfaces only for the a4j components

    Dirk Dollar Newbie

      Hello  Is there an easy way to use richfaces only for your convenient a4j components? without skins and most other dependencies.   Thank you

        • 2. Re: Use richfaces only for the a4j components
          Dirk Dollar Newbie

          That small jar looks very promising. But I'm running into a

           

          Source Document: vfs:/D:/eclipse/jboss/jboss-6.0.0.Final/server/default/deploy/MYAPP.ear/lib/richfaces-ui-core-ui-4.1.0-20111212.235624-259.jar/META-INF/faces-config.xml

            Cause: Class 'org.richfaces.renderkit.html.QueueResourceComponentRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/richfaces/application/CommonComponentsConfiguration$Items

              at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:275) [:2.0.3-]

              at com.sun.faces.config.processor.RenderKitConfigProcessor.addRenderers(RenderKitConfigProcessor.java:309) [:2.0.3-]

              at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:175) [:2.0.3-]

              at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:110) [:2.0.3-]

           

           

          which is located in the 6 MB richfaces-components-ui-4.1.0.Final.jar

          • 3. Re: Use richfaces only for the a4j components
            Dirk Dollar Newbie

            (when there is no easy way to do so, a 'no' is welcomed as well)

            • 4. Re: Use richfaces only for the a4j components
              Lukáš Fryč Master

              Dirk, there is more detailed list of deps you will need to define, I hope it helps:

               

              [INFO] --- maven-dependency-plugin:2.3:tree (default-cli) @ core-demo ---

              [INFO] org.richfaces.examples:core-demo:war:4.1.1-SNAPSHOT

              [INFO] +- org.richfaces.ui.core:richfaces-ui-core-ui:jar:4.1.1-SNAPSHOT:compile

              [INFO] |  +- org.richfaces.core:richfaces-core-api:jar:4.1.1-SNAPSHOT:compile

              [INFO] |  +- org.richfaces.ui.common:richfaces-ui-common-ui:jar:4.1.1-SNAPSHOT:compile

              [INFO] |  |  \- org.richfaces.ui.common:richfaces-ui-common-api:jar:4.1.1-SNAPSHOT:compile

              [INFO] |  \- org.richfaces.ui.core:richfaces-ui-core-api:jar:4.1.1-SNAPSHOT:compile

              [INFO] +- org.richfaces.core:richfaces-core-impl:jar:4.1.1-SNAPSHOT:compile