Component event-handler name cannot include the word "From"
-----------------------------------------------------------

                 Key: TAP5-833
                 URL: https://issues.apache.org/jira/browse/TAP5-833
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Franz Amador
            Priority: Minor


If a component event-handler method name includes the word "From", Tapestry 
throws an exception:

org.apache.tapestry5.ioc.internal.util.TapestryException: Request event 
'foofrombar' (on component 
project/DocumentHolderDocuments:documentsgridactionsbutton) was not handled; 
you must provide a matching event handler method in the component or in one of 
its containers.

The method is being invoked via an AJAX call to this URL:

    resources.createEventLink("fooFromBar").toAbsoluteURI();

And the handler looks like this:

    public Object onFooFromBar() { ... }

If I remove the word "From", it works fine.  If I change it to "Form", it works 
fine.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to