struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Strict DMI
Date Fri, 04 Oct 2013 09:31:40 GMT
2013/10/3 Steven Benitez <steven.benitez@gmail.com>:
> Why not just have an @ActionMethod annotation? If its on the action method,
> you can invoke it, if not, you can't. The global config option for allowed
> methods sounds reasonable (e.g., execute, input, etc.)

Nice idea and quite simple :-) What about "allowedActions" ? Maybe
extend @Action annotation and add "callable = true|false" which will
indicate if action can be called by action: prefix.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message