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-08 03:56 ------- >> I hope this is all acceptable, apologies in advance if the changes upset >> you. If theres anything you really don't like we can discuss and (maybe) modify. Thanks Niall! I really don't think I can be upset. You took my patch to the next level, and so congratulations on a job well done. I do have a few comments: 1) EventDispatchAction duplicates much (all?) of the dispatching code of EventActionDispatcher. I understand XYZDispatchAction classes are convienent, and while I prefer them to be phased out, other people may find them easy to have pre-built functionality out of the box. That's fine. My only recommendation here is that EventDispatchAction should use EventActionDispatcher internally. I think that would be a more organized approach to code maintenance and still provide the convienence Action classes you seek. 2) The JavaDoc reads in regards to not finding a match: "null is returned which means the unspecified method will be invoked." I believe you have changed the functionality so null is no longer returned, which means "unspecified" is no longer invoked. Can you confirm this? if (defaultMethodName == null || defaultMethodName.length() == 0) { String message = messages.getMessage("event.parameter", mapping.getPath()); LOG.error(message + " " + parameter); throw new ServletException(message); } I think above ^^^ is the issue. Didn't you already modify the base class to prevent the exception message from exposing the method? Was that the rationale behind this addition? (3) I am okay with you removing the "impliedSingleDefault" feature. I still want that for my code base, so I will privately override EventActionDispatcher. -- 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]
