From: <jue...@we...> - 2003-03-01 14:00:44
|
Hi Springies, I've finally committed some changes and enhancements that I've proposed: - BeanFactory inheritance instead of ApplicationContext inheritance, = mainly to allow for bean references to application context beans in = controller servlet config files; - reworked validation, now one Errors instance per bind object + empty = Errors instance even for form view + global errors + multiple errors per = field + rewritten tags + the new BindUtils class for simple retrieving = in JSP expressions; - reworked BaseCommandController + FormController + = SessionFormController, for easier and more flexible form controller = implementations; - defaultParentView property in ResourceBundleViewResolver (+ according = defaultParentBean property in AbstractBeanFactory) that allows for = specifying a default parent instead of mentioning "viewname.parent=3D" = for every view mapping (e.g. the parent can specify a view class that = gets used for all views that do not override it, in case of one dominant = view type); - more flexible startup: refactored ContextLoader + ContextLoaderServlet = + ContextLoaderListener, default context class, no message prerequisite; - LocaleResolver for explicit locale setting, with implementations for = accept header, session, and cookie; - JstlView implementation, exposing Spring's message source and user = locale to JSTL tags; - modified build script, using individual J2EE interface libraries in = lib/j2ee instead of a J2EE RI now. I encourage everyone to download the current version, and try and check = the new stuff. Feedback is very welcome! :-) My next steps will be 2 more of my proposals: - multipart request handling aka file upload: MultipartResolver + = implementations for Jason Hunter's COS and Jakarta's Commons FileUpload; - adding a utility class for HTML escaping, and appropriate support = within Spring's web functionality (e.g. message output, form values, = form errors). Regards, Juergen |