Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1166

If and Else components ignore element parameter when renderTag is false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1
    • 4.1.1
    • tapestry-core
    • None
    • 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.

      Attachments

        1. If-Else-element-compat.patch
          2 kB
          Ryan Holmes

        Activity

          People

            jkuhnert Jesse Kuhnert
            rholmes Ryan Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: