-
1. Re: duplicate id of element inside facet when using ui:include
danielsap Sep 1, 2011 9:21 AM (in response to danielsap)I continued the research:
It seems that I can't have
<rich:extendedDataTable binding="sessionBean.uiExtendedDataTable"...
cause
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!
-
2. Re: duplicate id of element inside facet when using ui:include
danielsap Sep 1, 2011 12:06 PM (in response to danielsap)I replaced the Myfaces 2.1.2 implementation with Mojara 2.1.2 and everything works fine!
Myfaces need to figure out this bug!
-
3. Re: duplicate id of element inside facet when using ui:include
yashyadav Apr 27, 2012 6:24 AM (in response to danielsap)Hi Daniel,
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.
Regards,
Yash