Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1295

Event handling methods that have too many parameters for the event context should be silently skipped

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.3
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      It might be nice to be able to have multiple onActivate( ) methods on a page, each handling a different number of context elements (including none).

      Howard's comment on the mailing list (http://www.nabble.com/T5%3A-onActivate-error-handling--tf3281698.html):

      "I'm thinking the change will be: a method will be invoked if the
      context has at least as many values as the method has parameters, and
      will silently skip those that request too many."

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            hlship Howard M. Lewis Ship
            Reporter:
            sdanig Daniel Gredler
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development