Hi Tim

In the spirit of DRY it would be really nice if I in code statement 
below could avoid writing @HandlesEvent("show") and just write 
@HandlesEvent and have Stripes figure out that if nothing is specified 
then the event name would be equal to the method name.?

public class DetailsAction extends AbstractActionBean {
    public DetailsAction() {
    }

    @HandlesEvent("show")
    public Resolution show() {
        return new WebInfRelativeForwardResolution("/jsp/details.jsp");
    }
   
    .... more @HandlesEvent methods.....
}


/Jeppe

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to