I am stuck on a rather silly operation. I have an eventLink in the tml and
it's event handler in the class like so:

tml ->    < a t:id='postConversationLink'>click the link < / a >

class -> 

        @Component(parameters = {"event=postConversationEvent"})
        private EventLink postConversationLink;
        
          @OnEvent(value="postConversationEvent", 
component="postConversationLink")
          void valueChosen()
          {
            System.out.println("annotated version");
          }
          
          void onPostConversationEventFromPostConversationLink()
          {
                  System.out.println("convention version");  
          }


To me both the annotated version and the convetion version look correct.
However, for both i get the error: Request event 'postconversationevent' ...
was not handled. 
>From the message it looks like the link is actually generating the event,
but somehow it cannot be matched to any of the two handlers. 

Thank you, 
Bogdan. 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/EventLinks-and-their-handlers-tp4979300p4979300.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to