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

        Mark Reynolds created issue -
        Hide
        Mark Reynolds added a comment -

        Example app to reproduce the issue.

        Show
        Mark Reynolds added a comment - Example app to reproduce the issue.
        Mark Reynolds made changes -
        Field Original Value New Value
        Attachment mintap_2.zip [ 12345651 ]
        Jesse Kuhnert made changes -
        Assignee Jesse Kuhnert [ jkuhnert ]
        Jesse Kuhnert made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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.
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 4.1.1 [ 12312021 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        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.
        Mark Thomas made changes -
        Workflow jira [ 12390365 ] Default workflow, editable Closed status [ 12567966 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12567966 ] jira [ 12591827 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development