You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Marko Asplund <ma...@ixonos.com> on 2008/01/16 21:13:12 UTC
t:dataScroller issue: scrollerprevious is duplicated in the faces
tree
Hi,
I'm developing a portlet with JSF using the Tomahawk t:dataTable action
in combination with t:dataScroller for implementing a pageable search
results page.
The page includes a form for typing in search criteria and dataTable is
used for representing the results.
Part of the time this is working as expected but occasionally I receive
error messages about duplicate components in the component tree (see below).
I'm using Tomahawk 1.1.3 and the application runs on WebSphere Portal
Server 6.0.
Has anyone else bumped into this problem? What could be causing this?
Caused by: java.lang.IllegalStateException: Client-id : scrollerprevious
is duplicated in the faces tree. Component : listForm:scrollerprevious,
path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
/WEB-INF/jsp/acars/listReports.jsp][Class:
org.apache.myfaces.custom.div.Div,Id: _idJsp0PC_7_BAQQI5230OL3C02
T1C1LCM30D2_][Class: javax.faces.component.html.HtmlForm,Id:
listForm][Class: org.apache.myfaces.custom.div.Div,Id:
_idJsp38PC_7_BAQQI5230OL3C02T1C1LCM30D2_][Class:
javax.faces.component.html.HtmlPanelGrid,Id:
_idJsp80PC_7_BAQQI5230OL3C02T1C1LCM30D2_][Class:
org.apache.myfaces.custom.datascroller.HtmlDataScroller,Id:
scroller][Class: javax.faces.component.html.HtmlCommandLink,Id:
scrollerprevious]}
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
Code))
at
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:305)
at
org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:122)
at
com.ibm._jsp._listReports._jspx_meth_f_view_0(_listReports.java:1671)
at com.ibm._jsp._listReports._jspService(_listReports.java:89)
at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
Code))
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
Code))
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
Code))
at
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled
Code))
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
Code))
at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined
Compiled Code))
at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled
Code))
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled
Code))
at
org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:112)
... 170 more
Re: t:dataScroller issue: scrollerprevious is duplicated in the faces tree
Posted by Ryan Wynn <bi...@gmail.com>.
On Jan 16, 2008 3:13 PM, Marko Asplund <ma...@ixonos.com> wrote:
> Hi,
>
> I'm developing a portlet with JSF using the Tomahawk t:dataTable action
> in combination with t:dataScroller for implementing a pageable search
> results page.
> The page includes a form for typing in search criteria and dataTable is
> used for representing the results.
> Part of the time this is working as expected but occasionally I receive
> error messages about duplicate components in the component tree (see below).
> I'm using Tomahawk 1.1.3 and the application runs on WebSphere Portal
> Server 6.0.
>
> Has anyone else bumped into this problem? What could be causing this?
>
> Caused by: java.lang.IllegalStateException: Client-id : scrollerprevious
> is duplicated in the faces tree. Component : listForm:scrollerprevious,
> path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId:
> /WEB-INF/jsp/acars/listReports.jsp][Class:
> org.apache.myfaces.custom.div.Div,Id: _idJsp0PC_7_BAQQI5230OL3C02
> T1C1LCM30D2_][Class: javax.faces.component.html.HtmlForm,Id:
> listForm][Class: org.apache.myfaces.custom.div.Div,Id:
> _idJsp38PC_7_BAQQI5230OL3C02T1C1LCM30D2_][Class:
> javax.faces.component.html.HtmlPanelGrid,Id:
> _idJsp80PC_7_BAQQI5230OL3C02T1C1LCM30D2_][Class:
> org.apache.myfaces.custom.datascroller.HtmlDataScroller,Id:
> scroller][Class: javax.faces.component.html.HtmlCommandLink,Id:
> scrollerprevious]}
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java(Compiled
> Code))
> at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:305)
> at
> org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:122)
> at
> com.ibm._jsp._listReports._jspx_meth_f_view_0(_listReports.java:1671)
> at com.ibm._jsp._listReports._jspService(_listReports.java:89)
> at
> com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
> Code))
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
> Code))
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
> Code))
> at
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled
> Code))
> at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
> Code))
> at
> com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined
> Compiled Code))
> at
> com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled
> Code))
> at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled
> Code))
> at
> org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:112)
> ... 170 more
>
>
see https://issues.apache.org/jira/browse/TOMAHAWK-596