myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2319) Panel popup renderer breaks rendering of the command button
Date Fri, 28 Sep 2012 20:44:07 GMT
Andrew Robinson created TRINIDAD-2319:
-----------------------------------------

             Summary: Panel popup renderer breaks rendering of the command button
                 Key: TRINIDAD-2319
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2319
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.1.0-core
            Reporter: Andrew Robinson
            Priority: Critical


If you put a command button in a panel popup, the page will fail to render. The cause appears
to be the popup using a renderer delegation to itself with an inner renderer. The result is
an exception:

Caused by: java.lang.AssertionError
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.CommandButtonRenderer.encodeAll(CommandButtonRenderer.java:82)
	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:1082)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPopupRenderer.encodeAll(PanelPopupRenderer.java:221)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message