2 Replies Latest reply on Dec 8, 2007 4:26 PM by fmarwede

    Duplicate ID

      Hello,
      i read several threads in this forum and else where about the jsf classical error "Duplicate ID".

      But I'm not sure exactly what I should do. Of course, give explicit IDs...but for all elements or only for form elements? What about "iterator" components like column or treenode?

      Please, what is your stable solution or workaround for this error?

        • 1. Re: Duplicate ID
          ilya_shaikovsky

          Many of such errors caused by incorrect bindings for example.. B.t.w. I never (except when I need it for reRender) set id myself in test apps and any of my aps throw such error.

          So priovide concrete case and we will find concrete solution. ;)

          • 2. Re: Duplicate ID

            Sorry for late answer.

            I thought about what you say and I can't remember getting a duplicate ID error in richfaces demo.

            So do you think it could be a good strategy to adopt jsf coding style from there (incl. library, web.xml and style of facelets composition)?

            This would be a very straight solution for my problem but I took very much time for it ;-)