[ 
https://issues.apache.org/jira/browse/TAPESTRY-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAPESTRY-1696.
------------------------------------------

    Resolution: Duplicate
      Assignee: Howard M. Lewis Ship

Duplicate of TAPESTRY-1999 (or vice-versa).

> Event handlers should be able to receive all parameters as a List (rather 
> than only as Object[])
> ------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1696
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1696
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Nick Westgate
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> A context can be passed to a component as a List, but an event handler must 
> currently use Object[] instead.
> For example, the following handler will receive all context parameters:
>     void onEventFromComponent(Object[] things) { ... }
> But this next handler will receive a List containing only the first parameter:
>     void onEventFromComponent(List things) { ... }
> This happens because Object[] is explicitly coded as "special" in 
> OnEventWorker.java, buildMethodParameters().
> It would be nice to accord List the same "special" status.
> Cheers,
> Nick.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to