You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Kočí (JIRA)" <de...@myfaces.apache.org> on 2011/05/05 19:08:04 UTC
[jira] [Resolved] (MYFACES-3126) RendererUtils.renderChild prevents
rendered="" expression based on "#{component.parent}"
[ https://issues.apache.org/jira/browse/MYFACES-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kočí resolved MYFACES-3126.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0-SNAPSHOT
> RendererUtils.renderChild prevents rendered="" expression based on "#{component.parent}"
> ----------------------------------------------------------------------------------------
>
> Key: MYFACES-3126
> URL: https://issues.apache.org/jira/browse/MYFACES-3126
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.1.0-SNAPSHOT
> Environment: myfaces core trunk
> Reporter: Martin Kočí
> Assignee: Martin Kočí
> Fix For: 2.1.0-SNAPSHOT
>
> Attachments: MYFACES-3126.patch
>
>
> <h:panelGroup property="foo">
> <h:outputLabel rendered="#{component.parent.property == 'foo'} />
> don't work and label is not rendered.
> Reason:
> RendererUtils.renderChild contains code:
> if (!child.isRendered()) return;
> child.encodeBegin(facesContext);
> -> rendering is skipped before method pushComponentToEL is called.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira