DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38343>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38343 ------- Additional Comments From [EMAIL PROTECTED] 2006-03-07 17:17 ------- The one thing I don't understand about this is why it is configured through the ActionMapping's parameter? The method names in the Action can't be configured so the only value I could see is if the Action is reused and you wanted to "obfuscate" in a different way for different mappings. But I don't really see much need for that. How about adding the parameter list to the constructor, so you would do something like... private ActionDispatcher dispatcher = new ParameterListActionDispatcher(this, "save,back,recalc=recalculate,default=save"); or maybe add methods... public class FooAction extends Action { private ParameterListActionDispatcher dispatcher = new ParameterListActionDispatcher(this); public FooAction() { dispatcher.addMethodParam("save"); dispatcher.addMethodParam("back"); dispatcher.addMethodParam("recalc", "recalculate"); dispatcher.addDefaultParam("save"); } } ...or perhaps both. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
