1 Reply Latest reply on Feb 19, 2008 8:29 PM by valbosoft

    duplicate id

    valbosoft

      Hello,


      I changed my application (seam 1.2.1 GA, tomcat 5.5, facelets 1.1.14, richfaces 3.1.4) from myfaces to RI 1.1 because it allows me to do server state saving.
      I'm having 2 issues:



      1. suddenly have duplicate id errors

      2. some drop down list got converted to normal lists




      My steps were:




      1. copy jsf-api.jar and jsf-impl.jar to the WEB-INF/lib directory

      2. deleted myfaces-api.jar and myfaces-impl.jar

      3. deleted from web.xml: org.apache.myfaces.webapp.StartupServletContextListener

      4. uncommented in web.xml: com.sun.faces.config.ConfigureListener

      5. left faces-config.xml as it was

      6. After seeing the duplicate id errors, I upgrades the jsf-facelets.jar to jsf-facelets.1.1.14.jar



      Any clues on what might be missing here?


      Regards,
      Bo

        • 1. Re: duplicate id
          valbosoft

          Ok, I got upgraded to RI 1.2 now, and have resolved the selectOneMenu issue.
          Only one problem remains: quit often I get the following error:


          duplicate Id for a component _id2



          This can be at a page as trivial as the homepage where there are no components defined.
          It doesn't happen always, either; sometimes I can navigate arround quit ok. But then suddenly I get the error again..


          Any ideas on this?


          Regards,
          Bo