[richfaces-issues] [JBoss JIRA] (RF-13649) TogglePanel: fails to render meta-component '@header'

Lukáš Fryč (JIRA) issues at jboss.org
Wed May 28 03:41:56 EDT 2014


    [ https://issues.jboss.org/browse/RF-13649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971068#comment-12971068 ] 

Lukáš Fryč commented on RF-13649:
---------------------------------

This could be caused by EPVC refactoring in RF-13505, we need to verify whether it passed before the merge.

> 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
>    Affects Versions: 4.5.0.Alpha3
>            Reporter: Lukáš Fryč
>             Fix For: 4.5.0.Alpha3
>
>
> The issue is here: [{{header != activeItem}}|https://github.com/richfaces/richfaces/blob/0733e3d0d76ca7dfbe66e2a85f225284a1650e07/components/rich/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java#L179]
> 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/0733e3d0d76ca7dfbe66e2a85f225284a1650e07/components/rich/src/test/integration/org/richfaces/component/tabPanel/ITStaticTab.java#L174] test



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the richfaces-issues mailing list