[Actionframework-users] ANNOUNCE: ActionServlet 0.94beta
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-12-29 18:03:31
|
Hello, I'm pleased to announce a new release of ActionServlet with the largest number of new implemented features (requested by the community) in its history. Due to many changes in the code this is a "beta" release. I would like to ask you for upgrade tests (please read the "Upgrading hints" below) and report any problems, bugs or unexpected behaviour to the mailing list. Thank you! ActionServlet 0.94beta (http://www.actionframework.org) Highlights ---------- * added new ActionConfig elements: <pre-invoke>, <post-invoke>, <validate>, <include-template> - see Specification for more info * <on-exception>s may be nested also in <components> and have a new optional attribute "rethrow-if" to enable exception propagation, ConversionException may be now also processed by <on-exception>s * <property> element may now contain <input-variable>s * <template> names may now contain regexps (like ".*"), so that <invoke>s and <output-variable>s can be set for several templates in one place * arbitrary order of <invoke>s and <output-variable>s is possible * added optional 'type' attribute in <action> element to allow action selection based on the type of request ("http.get", "http.post", ...) * added methods to ActionServlet: getContext(), requestCleanup(), destroyComponent(), getTypeHandler() * See http://www.actionframework.org/doc/whatsnew.txt for more details Upgrading hints --------------- ActionServlet 0.94beta comes with several small compatiblity issues: - return type of ActionServlet.getProperty(...) methods changed to Object -> quick fix: change calls: servlet.getProperty(...) to servlet.getProperty(...).toString() - access moddifiers of most previously "protected" ActionServlet methods changed to "public" -> subclasses must also use "public" modifier - ActionServlet.invokeMethod() throws Exception instead of InvocationTargetException -> widen "throws" clause too - beforeInvoke(), afterInvoke(), invokeMethod(), beforeConversion(), conversionError(), getActionMethod(), unassignedAction()), onException() and onReturn() methods of ActionServlet had 'form' parameter, but now are passsed 'requestType' parameter instead and values of 'form' and 'action' parameters are concatenated by '.': 1) form="form1", action="submit" -> action="form1.submit" 2) no 'form', action="withNoForm" -> action="withNoForm" -> if you have used 'form' parameter in you overridden methods, you have to verify if your code is correct Hope you will like it! :) -Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |