myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kočí (JIRA) <...@myfaces.apache.org>
Subject [jira] [Reopened] (MYFACES-3126) RendererUtils.renderChild prevents rendered="" expression based on "#{component.parent}"
Date Thu, 26 May 2011 19:39:51 GMT

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

Martin Kočí reopened MYFACES-3126:
----------------------------------


Reopened: this is only part of bigger issue: 

http://www.mail-archive.com/dev@myfaces.apache.org/msg53300.html
and
MYFACES-3157

and removing isRendered() from renderChild method breaks functionality of renderers where
getRendersChildren = true


> 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
>
>         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

Mime
View raw message