Hi Mick,

You could create the event handlers so that Stripes picks them up, then call 
your defaultHandler() which would then get the correct event name (although I'm 
not sure why you would want to do this):


public class MyHandlerActionBean implements ActionBean {
    private ActionBeanContext context;
.
.
.
    public Resolution save() {
        return defaultHandler();
    }
    
    public Resolution update() {
        return defaultHandler();
    }
    
    public Resolution delete() {
        return defaultHandler();
    }
    
    @DefaultHandler
    public Resolution defaultHandler() {
        String event = context.getEventName();
    }
}


Cheers,
DaveMark


      

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to