[Stripes-dev] [JIRA] Resolved: (STS-274) Methods with parameters should not be registered as event handlers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Stripes-dev] [JIRA] Resolved: (STS-274) Methods with parameters should not be registered as event handlers

JIRA jira@mc4j.org
     [ http://mc4j.org/jira/browse/STS-274?page=all ]

Tim Fennell resolved STS-274.
-----------------------------

    Fix Version/s: Release 1.5
       Resolution: Fixed

Fixed. Method with parameters will no longer be automatically picked up.

> 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
>             Fix For: Release 1.5
>
>
> 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

       

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development