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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.3
    • tapestry-core
    • 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."

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            sdanig Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: