Hi Andy
Cool, I hadn't noticed that it was allowed. Thanks for the tip :)
/Jeppe
Andy wrote:
Hi Jeppe,
You can avoid the @HandlesEvent annotation :)
public class DetailsAction extends AbstractActionBean {
public Resolution show() {
Andy
On Sun, 12 Nov 2006, Jeppe Cramon wrote:
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 {
@HandlesEvent("show")
public Resolution show() {
-------------------------------------------------------------------------
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
|
-------------------------------------------------------------------------
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