JSF bug: Duplicate ID exception when using composite component with c:if

Solution Verified - Updated -


  • Component ID testForm:test2:text has already been found in the view.


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.5
  • JSF
    • 2.2.x
  • 2 composites of the same type and c:if to hide and show.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content