1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Duplicate Id error encountered when jsp dynamic include is used.

Discussion in 'JSP' started by tamal, Apr 16, 2012.

  1. tamal

    tamal New Member

    Apr 16, 2012
    Likes Received:
    Trophy Points:
    I am currently using a jsf application which is rendering each time it goes to an other page. I am supposed to make the application like, the parent jsp will remain static and only the child pages will be included dynamically based on the selection of pages. I am using

      <h:panelGroup id="bodyPanel" > 	<jsp:include page="${sessionScope.includePage}" flush="true"/> </h:panelGroup>   
    for this, and reRendering the bodyPanel each time according to the value in the session. The problem it is creating is, whenever the next page I am moving to contains some conflicting Ids with the current page, it is throwing up "Duplicate Id found" exception.

    I can't make the Ids unique as we use almost all the Ids as same for all the pages.

    Please suggest something for this problem

Share This Page