Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3126

RendererUtils.renderChild prevents rendered="" expression based on "#{component.parent}"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.0-SNAPSHOT
    • 2.0.8, 2.1.2
    • General
    • None
    • myfaces core trunk

    Description

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

      Attachments

        1. MYFACES-3126.patch
          7 kB
          Martin Kočí

        Activity

          People

            markoc50 Martin Kočí
            markoc50 Martin Kočí
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: