I continued the research:
It seems that I can't have
1- The ComponentTagHandlerDelegate.apply() that creates the UIExtendedDataTable takes it from the sessionBean.uiExtendedDataTable
But the taken uiExtendedDataTable is filled with all the columns and the facet
2- After that it creates new ouputText that is in the facelet. It doesn't take the already existing one in the uiExtendedDataTable.
3- It wants to put the newly created ouputText in the facet. But it finds the same ouputText there previously puted there.
So it creates a new UIPanel and put both outputTexts in it.
4- Finally it tries to remove the first ouputText but it is not there, its moved.
So, I see now what is the problem about. Still don't know how to act! Will be thankfull for any advice or opinion!
I replaced the Myfaces 2.1.2 implementation with Mojara 2.1.2 and everything works fine!
Myfaces need to figure out this bug!
I am also facing the same issue with Tomcat 7, MyFaces 2.1.5 Richfaces 4.1.0 final.
I also felt that its because of ui:include and the way MyFaces is handling this. But i was not able to find exact reason or point of issue for this.
As you told, on replacing MyFaces with Mojara 2.1.7 did the magic and its working fine
Thanks for the info.