>From: "Andrew Robinson" <[EMAIL PROTECTED]> 
>
> Could you post some of the XHTML code? Also the full error from the 
> duplicate component ID may be helpful. That component path should 
> directly indicate which component is getting the error (it is in a 
> dataTable, and doesn't have an ID assigned to it). 
> 
> Also if you are using facelets includes, you have to make sure that 
> IDs are unique for the entire component tree, not just the include. So 
> if you have: 
> 
>

You might also look at a more recent version of facelets.   Shale Clay 
had some issues with how the UIViewRoot component generates 
unique id's between myfaces versions.  

https://issues.apache.org/struts/browse/SHALE-418


Gary 


> 
> 
> the component IDs in a and b have to be unique. 
> 
> Since you are having an issue with an auto-generated ID in a data 
> table, I'm inclined to think it is a component binding issue though. 
> 
> On 5/23/07, SiSi'mon wrote: 
> > 
> > Thanks, I am not quite sure I understand everything in the article. We have 
> > ID's on every component in the xhtml. 
> > 
> > Not sure how to implement the suggestion for not using session scoped 
> > beans. 
> > 
> > 
> > Si'mon 
> > 
> > 
> > David Delbecq-2 wrote: 
> > > 
> > > Since you seem to be using facelets: 
> > > 
> > > 
> http://wiki.java.net/bin/view/Projects/FaceletsFAQ#I_m_getting_Duplicate_ID_Erro
>  
> rs 
> > > 
> > > SiSi'mon a écrit : 
> > >> We are getting errors on nearly every page now that we are using MyFaces 
> > >> 1.1.5. All seem to point to a duplicate ID problem but checking the 
> > >> xHTML 
> > >> there is no duplicate ID. This seems to be generated or something. 
> > >> 
> > >> Something seems quite mucked up. any ideas? 
> > >> 
> > >> --- 
> > >> 
> > >> SEVERE: Error Rendering View[/web/Information.xhtml] 
> > >> java.lang.IllegalStateException: Client-id : _id81 is duplicated in the 
> > >> faces tree. Component : idListForm:idPopupDataTable:_id81, path: 
> > >> {Component-Path : [C 
> > >> 
> > >> --- 
> > >> 
> > > 
> > > 
> > 
> > -- 
> > View this message in context: 
> http://www.nabble.com/Started-using-Myfaces-1.1.5-and-every-page-is-broken-%28du
>  
> plicate-ID-in-the-faces-tree-Component%29-tf3805053.html#a10771395 
> > Sent from the MyFaces - Users mailing list archive at Nabble.com. 
> > 
> > 

Reply via email to