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

Tapestry should be smarter about event handler methods refiring events with the same name

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Abandoned
    • 5.0.15
    • None
    • None
    • None

    Description

      An idiom that's evolving is for a component or mixin to receive an event via an event handler method, and then refire the event with a different context to obtain information or behavior from its container.

      Currently, you must either a) fire a differently named event or b) expressly trigger the event on the container's resources.

      It would be nice if Tapestry was smarter, and woul track which event(s) a component or mixin is currently handling, and would automatically skip the component if another event of the same name was triggered. Basically, roll the b) logic above directly into ComponentResources/ComponentPageElement.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: