Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13649

TogglePanel: fails to render meta-component '@header'

    Details

    • Sprint:
      4.5.0.Alpha3 - Sprint 3

      Description

      The issue is here: header != activeItem

      Server stack trace:

      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]
      

      The issue is reproducible by ITStaticTab test

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                lfryc Lukáš Fryč (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified