1 Reply Latest reply on May 29, 2008 3:16 PM by Tom McCobb

    Duplicate component id oddities

    Luca Borzani Newbie

      lately i have been receiving messages like this: java.lang.IllegalStateException: duplicate Id for a component
      I can't understand the real cause though, because i have provided an unique id for almost every component. For the remainder i trust on automatic ids (the ones starting with j_id). So i think this message should never appear.

      This seems to happen only between pages that share a session scoped bean. I don't undestand why this could create a conflict. I tried restricting the scope of the bean to request and the duplicate id error message does not show up anymore. The bean is a backing bean linked to an HtmlPanelMenu.

      So, what could be the cause for this duplicate id error?