Problem
The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
Why it is occurring?
The error occurs because the underlying jsff has more than one root component in the <jsp:root> tag.
Solution
We can fix this by wrapping the multiple root components into a single one by wrapping the multiple roots into one component such as <af:group>, <af:panelGroupLayout>, etc.