Lukáš Fryč created RF-13649:
-------------------------------
Summary: TogglePanel: fails to render meta-component '@header'
Key: RF-13649
URL:
https://issues.jboss.org/browse/RF-13649
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Reporter: Lukáš Fryč
The issue is here: [{{header !=
activeItem}}|https://github.com/richfaces/richfaces/blob/0733e3d0d76ca7df...]
Server stack trace:
{code}
09:31:06,859 SEVERE [org.richfaces.log.Context] (default task-12) header:
java.lang.IllegalArgumentException: header
at
org.richfaces.renderkit.html.TogglePanelRenderer.encodeMetaComponent(TogglePanelRenderer.java:192)
[richfaces.jar:4.5.0-SNAPSHOT]
at
org.richfaces.component.AbstractTogglePanel.encodeMetaComponent(AbstractTogglePanel.java:891)
[richfaces.jar:4.5.0-SNAPSHOT]
at
org.richfaces.context.MetaComponentEncodingVisitCallback.visit(MetaComponentEncodingVisitCallback.java:69)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at
org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:103)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at
org.richfaces.context.ExtendedRenderVisitContext.invokeVisitCallback(ExtendedRenderVisitContext.java:65)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at
org.richfaces.context.ExtendedVisitContext.invokeMetaComponentVisitCallback(ExtendedVisitContext.java:76)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at
org.richfaces.component.AbstractTabPanel.visitMetaComponents(AbstractTabPanel.java:150)
[richfaces.jar:4.5.0-SNAPSHOT]
at org.richfaces.component.AbstractTogglePanel.visitTree(AbstractTogglePanel.java:915)
[richfaces.jar:4.5.0-SNAPSHOT]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIForm.visitTree(UIForm.java:371)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at
com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:406)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at
com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:325)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at
org.richfaces.context.ExtendedPartialViewContext.processPartial(ExtendedPartialViewContext.java:254)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:435)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
[jsf-impl-2.2.5-jbossorg-3.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
{code}
The issue is reproducible by
[
ITStaticTab|https://github.com/richfaces/richfaces/blob/0733e3d0d76ca7dfb...]
test
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)