Tapestry
  1. Tapestry
  2. TAPESTRY-1162

@EventListener doesn't get called inside a custom component

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.1
    • Component/s: Annotations
    • Labels:
      None
    • Environment:
      WIndows XP SP2
      JDK 1.5.0 Update 9
      Tapestry tapestry-framework-4.1.1-20061124.063552-48

      Description

      See attached project which demonstrates the issue. When I use @EventListener inside of a custom component to submit a form which is on the enclosing page, Tapestry does not find the annotated listener method but instead looks for it on the page class and fails.

      1. mintap_2.zip
        14 kB
        Mark Reynolds

        Activity

        Hide
        Mark Reynolds added a comment -

        Example app to reproduce the issue.

        Show
        Mark Reynolds added a comment - Example app to reproduce the issue.
        Hide
        Jesse Kuhnert added a comment -

        Sorry this is taking so long, your test app was a godsend in seeing the issue - as always.. I fixed it earlier today but become unhappy enough with the fragility of this part of the system that I decided to rewrite all of this logic. Still not happy with that either but it's getting closer.

        Show
        Jesse Kuhnert added a comment - Sorry this is taking so long, your test app was a godsend in seeing the issue - as always.. I fixed it earlier today but become unhappy enough with the fragility of this part of the system that I decided to rewrite all of this logic. Still not happy with that either but it's getting closer.
        Hide
        Mark Reynolds added a comment -

        It works great, now. Thank you, Jesse.

        Show
        Mark Reynolds added a comment - It works great, now. Thank you, Jesse.

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Mark Reynolds
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development