javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1002

Order of isRendered and pushComponentToEL prevents rendered="#{}" based on component implicit object

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Components/Renderers
    • Labels:
      None

      Description

      Current specification for lifecycles methods:
      1) processDecodes
      2) processValidators
      3) processUpdates
      4) encodeAll
      4) encodeBegin

      explicitly says that:

      1) If the rendered property of this UIComponent is false, skip further processing.
      2) call pushComponentToEL

      But in that order of invocations it is impossible to achieve rendered like this:

      <h:outputText rendered="#

      {component.id eq 'outputTextId'}

      " id="outputTextId" />

      i.e. any rendered ValueEpression based on component itself.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: