[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-dev
Subject:    [jira] Commented: (MYFACES-1550) generated MyFaces id's produce
From:       "Martin Marinschek (JIRA)" <dev () myfaces ! apache ! org>
Date:       2007-09-28 16:00:52
Message-ID: 29900512.1190995252496.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/MYFACES-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531067 \
] 

Martin Marinschek commented on MYFACES-1550:
--------------------------------------------

Facelets has a duplicate id problem with facets in the latest released version \
(1.1.11) this has been fixed in the beta releases thereafter and the current head. \
This is therefore not a problem with MyFaces.

regards,

Martin

> generated MyFaces id's produce duplicates which throw exceptions in container, \
>                 rendering existing apps unusable
> ---------------------------------------------------------------------------------------------------------------
>  
> Key: MYFACES-1550
> URL: https://issues.apache.org/jira/browse/MYFACES-1550
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.1.5
> Environment: MyFaces 1.1.5, WindowsXP, Tomcat5.5.20
> Reporter: Lisanchez
> Priority: Blocker
> Fix For: 1.1.6
> 
> 
> Pages that once worked (1.1.5) stopped working for some reason (within the past \
> week).  The issue seems to be with generated id's on components. You will see this \
> where you load a page and then reload the same page through a hyperlink or \
> rendering for the second time. There seems to be some correlation with the <f:facet \
> tag.  I have a page with a <t:dataTable and several columns that use the <f:facet> \
> tag to provide the column header.  The page loads just fine initially but if I \
> reload, I get a blank screen and the following message in my Tomcat log file. If I \
> remove the column header and the facet tag, I do not see the error.  About a week \
> ago there were no problems with this page so it is something new that has been \
>                 introduced and should be fixed.
> ---
> Mar 1, 2007 2:29:16 PM com.sun.facelets.FaceletViewHandler handleRenderException
> SEVERE: Error Rendering View[/web/Summary.xhtml]
> java.lang.IllegalStateException: Client-id : _id32 is duplicated in the faces tr
> ee. Component : _id30:_id31:_id32, path: {Component-Path : [Class: javax.faces.c
> omponent.UIViewRoot,ViewId: /web/Summary.xhtml][Class: org.ap
> ache.myfaces.custom.document.Document,Id: _id12][Class: javax.faces.component.ht
> ml.HtmlForm,Id: _id30][Class: org.apache.myfaces.component.html.ext.HtmlDataTabl
> e,Id: _id31][Class: javax.faces.component.UIColumn,Id: _id32][Class: javax.faces
> .component.html.HtmlOutputText,Id: _id32]}
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:329)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:341)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:338)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:338)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:341)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplic
> ateIds(JspStateManagerImpl.java:341)
> at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerialized
> View(JspStateManagerImpl.java:286)
> at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav
> a:601)
> at com.presence.util.bb.customjsf.PtViewHandler.renderView(PtViewHandler
> .java:107)
> at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderRes
> ponseExecutor.java:41)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
> 132)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
> at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.do
> FilterInternal(OpenSessionInViewFilter.java:173)
> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
> equestFilter.java:77)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
> at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(Extensions
> Filter.java:190)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:213)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:178)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:126)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:105)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:107)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> > 869)
> at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
> int.java:527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:684)
> at java.lang.Thread.run(Thread.java:619)
> ---

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic