Tapestry
  1. Tapestry
  2. TAPESTRY-1166

If and Else components ignore element parameter when renderTag is false

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.1
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      N/A

      Description

      If an element is specified, it should be rendered regardless of the value of renderTag. This is preferable for the sake of backwards compatibility and, arguably, is the correct logic as long as the element and renderTag parameters co-exist.

      This issue does not affect the For component, which always renders a tag if the element parameter is specified.

        Activity

        Hide
        Jesse Kuhnert added a comment -

        Applied, thanks.

        Show
        Jesse Kuhnert added a comment - Applied, thanks.
        Hide
        Ryan Holmes added a comment -

        Simple patch to make If and Else always render a tag when element is specified.

        Show
        Ryan Holmes added a comment - Simple patch to make If and Else always render a tag when element is specified.

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Ryan Holmes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development