Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1333

Zone should implement an interface, BodyElement, that extends ClientElement and provides the body property

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.2.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      I wanted to create a static utility method that, passed a collection of Zones, would add create a MultiZoneUpdate, which involved getting the clientId (via ClientElement interface) and getting the body (as a Block).

      However, for all the standard class-cast issues, static methods from the primary class loader can't accept an instance of Zone. At the same time, the getBody() method is not defined by an interface.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: