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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.2
    • 5.2.3
    • tapestry-core
    • 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

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: