3 Replies Latest reply on Oct 30, 2008 8:43 PM by Nick Belaevski

    use picklist in RichFace 3.0.0

    Rogerio SANTOS Newbie

      I'm trying use Pick List so I use de RichFace 3.0.0. I tried changes my version for the last version but did not work.
      Is change de version necessary for use Pick List?


      Is it possible to change jboss RichFace and ajax4jsf 3.0.0 versions to the last one ? because did found the jar ajax4jsf in package richfaces-ui-3.2.2.GA-bin.zip.

      Are the packages richfaces-ui-3.2.2.GA-bin.zip and e jboss-richfaces-3.0.1-src.zip the same?


        • 1. Re: use picklist in RichFace 3.0.0
          Ilya Shaikovsky Master

          just remove all the RF and ajax4jsf jars from your app and add three new jars from 3.2.2GA distribution. ajax4jsf didn't available anymore as standalone.

          • 2. Re: use picklist in RichFace 3.0.0
            Rogerio SANTOS Newbie

            yes, I removed all but the application does not start.

            during the start process TomCAT occurs many errors for example:


            30/10/2008 14:42:48 org.apache.catalina.core.StandardContext listenerStart
            SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
            java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
            at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
            at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:242)
            at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:134)
            at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:160)
            at org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:272)
            at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:608)
            at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:148)
            at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
            at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
            at org.apache.catalina.core.StandardService.start(StandardService.java:448)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
            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:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
            30/10/2008 14:42:48 org.apache.catalina.core.StandardContext start
            SEVERE: Error listenerStart

            do you know what is happening ?

            Tks ...

            • 3. Re: use picklist in RichFace 3.0.0
              Nick Belaevski Master

              Hi,

              Looks like you are trying to run with JSF 1.1, but
              RichFaces 3.2.x requires JSF 1.2+.