You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Thiago H. de Paula Figueiredo (JIRA)" <de...@tapestry.apache.org> on 2008/06/30 21:10:45 UTC

[jira] Created: (TAPESTRY-2494) Provide some way to get the component that fired an event

Provide some way to get the component that fired an event
---------------------------------------------------------

                 Key: TAPESTRY-2494
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2494
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.0.13
            Reporter: Thiago H. de Paula Figueiredo


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org