tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Amador (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-833) Component event-handler name cannot include the word "From"
Date Wed, 02 Sep 2009 17:02:32 GMT
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.


Mime
View raw message