This content has been marked as final.
Show 8 replies
-
1. Re: Duplicate Id with rich:extendedDataTable
eugenbesel Mar 17, 2010 5:54 AM (in response to evialxg)what will happen, when you use sessionScope?? -
2. Re: Duplicate Id with rich:extendedDataTable
evialxg Mar 17, 2010 6:17 AM (in response to eugenbesel)nothing changes.. but it's no good using session scope beans in such a case. -
3. Re: Duplicate Id with rich:extendedDataTable
liuliu Mar 17, 2010 7:37 AM (in response to evialxg)hi,
i got this kind of error sometimes when jsf cant creat his view. it throws this exception for first componnent in the page included.
hope this helps
liu
-
4. Re: Duplicate Id with rich:extendedDataTable
ilya_shaikovsky Mar 17, 2010 8:14 AM (in response to liuliu)duplicates Id's is most common problem which occurs while using session scoped component bindings. And it's not related to RichFaces but just pure JSF restriction. -
5. Re: Duplicate Id with rich:extendedDataTable
ilya_shaikovsky Mar 17, 2010 12:16 PM (in response to ilya_shaikovsky)I get the point that in your case bean is request scoped. just looked to the post where session was suggested. Try to assighn id's explicitly to all the component you adding to tree. -
6. Re: Duplicate Id with rich:extendedDataTable
evialxg Mar 18, 2010 3:42 AM (in response to ilya_shaikovsky)Thanks for the suggestion. Ids are already checked. In this case, there is probably a component that i am unable to notice.
However, i 'd like to add that the exact same error comes up with ids that i have created on my own, which means that probably just defining your own ids and using request scope objects is not enough to get rid of this problem.!!
-
7. Re: Duplicate Id with rich:extendedDataTable
ilya_shaikovsky Mar 18, 2010 3:45 AM (in response to evialxg)do you able to provide simple war sample with java sources? -
8. Re: Duplicate Id with rich:extendedDataTable
evialxg Mar 18, 2010 5:14 AM (in response to ilya_shaikovsky)I finally overcame the problem by removing a jsp:include tag i used on the page and inserting the whole code of the included page directly.
So, it seems that the jsp:include tag creates some conflicts with the ids.