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

Provide some way to get the component that fired an event

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 5.0.15
    • None
    • None

    Description

      It would be very nice to have event handler methods know what component fired that event, specially for mixins.

      There's a discussion in the mailing list: http://www.nabble.com/forum/ViewPost.jtp?post=18157269&framed=y.

      Howard said:

      We could change Event to expose the source
      Component ... we could also change the EventWorker logic to see if the
      sole parameter to an event handler method is of type ComponentEvent
      and pass the event directly to the event handler method.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thiagohp Thiago Henrique De Paula Figueiredo
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: