You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2012/09/28 22:52:07 UTC

[jira] [Resolved] (TRINIDAD-2319) Panel popup renderer breaks rendering of the command button

     [ https://issues.apache.org/jira/browse/TRINIDAD-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson resolved TRINIDAD-2319.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.14-plugins

Move the call to clear the rendering context client ID to before the encoding of the children
                
> 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
>             Fix For: 1.2.14-plugins
>
>
> If you put a command button in a panel popup, the page will fail to render.  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