Methods with parameters should not be registered as event handlers
------------------------------------------------------------------

                 Key: STS-274
                 URL: http://mc4j.org/jira/browse/STS-274
             Project: Stripes
          Issue Type: Bug
            Reporter: Taras Puchko
         Assigned To: Tim Fennell


NameBasedActionResolver.getHandledEvent should additionally check whether the 
method returning Resolution has any parameters.
Currently  implementing ValidationErrorHandler we effectively add a new event 
handler that cannot be executed however:
java.lang.IllegalArgumentException: wrong number of arguments


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to