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 18:07 ------- (In reply to comment #14) > 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"); How about not having struts-config.xml at all? Supposedly, the config file provides some sort of external configuration, so using "parameter" is in line with that. In Struts Dialogs library 1.x the configuration was initially done in an action class, but users asked for externalizing it to action mapping. I don't know what is real value in this, but they say that webapp structure can be easily observed by looking at config file. In case of ParameterListActionDispatcher this requirement is satisfied. I am pretty happy with the way ParameterListActionDispatcher is configured right now. (In reply to comment #15) > OK heres another thought. What about the dispatcher using reflection to find > methods (with correct signature) automatically - no config needed at all. The > only thing that doesn't provide is the "obfuscate" facility - so maybe that > could be an optional extra - configure in the Action's constructor as in my > previous example? Stripes framework does that. -- 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]
