Hey, whoah ... ;) Get a little discussion going first. ---- Original message ---- >Date: Tue, 22 Nov 2005 08:02:20 +0100 >From: "Juergen Melzer" <[EMAIL PROTECTED]> >Subject: Re: Subview in tiles throws Exception (duplicate id) >To: [email protected] > >Possible solution. But I think this is a bug in myFaces. The restoreview >doesn't restore the uniqueid counter..... >I will create a bug entry > > >>From: Dennis Byrne <[EMAIL PROTECTED]> >>Reply-To: "MyFaces Discussion" <[email protected]> >>To: MyFaces Discussion <[email protected]>, >>[EMAIL PROTECTED] >>Subject: Re: Subview in tiles throws Exception (duplicate id) >>Date: Mon, 21 Nov 2005 21:52:46 -0900 >> >>I noticed this when I started using lots of subviews. It >>only went away after explictly giving everything an id. >> >>---- Original message ---- >> >Date: Tue, 22 Nov 2005 07:49:36 +0100 >> >From: "Juergen Melzer" <[EMAIL PROTECTED]> >> >Subject: Subview in tiles throws Exception (duplicate id) >> >To: [email protected] >> > >> >Hi all, >> > >> >we use tiles and the myfaces integration. But we get an >>exception: >> >javax.faces.FacesException: cannot add component with >>id '_id13' and path : >> >{Component-Path : [Class: >>javax.faces.component.html.HtmlPanelGrid,Id: >> >_id13]} to its parent component. This might be a problem due >>to duplicate >> >ids. >> > at javax.faces.webapp.UIComponentTag.findComponent >>(UIComponentTag.java:401) >> > at javax.faces.webapp.UIComponentTag.doStartTag >>(UIComponentTag.java:219) >> > >> > >> >I think the problem is that the id is generated after the >> >JspStateManagerImp.restoreTreeStructure is called. But >>inside the view there >> >is still the id above. >> > >> >Can anyone help? >> > >> >Juergen >> > >> >_____________________________________________________________ >>____ >> >Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN >>Suche Superquiz via >> >http://www.msn-superquiz.de Jetzt mitmachen und gewinnen! >> > >> >>Dennis Byrne > >_____________________________________________________________ ____ >Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig >im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ >Jetzt gratis downloaden! >
Dennis Byrne

