Commit Graph

70 Commits

Author SHA1 Message Date
Juergen Hoeller 9bb2251455 reverted shortening of action exception parameter value; fixed multipart test (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3650 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 23:11:11 +00:00
Juergen Hoeller 669f846b8d fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3649 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:18 +00:00
Juergen Hoeller 6dbe912b13 copy event parameters to render parameters in case of an action exception as well (SPR-7495)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3648 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:56:05 +00:00
Juergen Hoeller f569ebfb52 DispatcherPortlet copies all action parameters to render parameters in case of an action exception (SPR-7495); shortened Portlet MVC's action exception render parameter value to "true"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3647 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 22:45:31 +00:00
Juergen Hoeller 2b9c71d317 removed unused HandlerExecutionChain caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3646 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:44:06 +00:00
Juergen Hoeller ea2bbbb3be allow for writing the response directly in a Portlet @ExceptionHandler method (like in the Servlet equivalent)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3645 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:43:26 +00:00
Juergen Hoeller 25a6ffa75f polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3644 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 21:20:03 +00:00
Juergen Hoeller ba1e4c2d10 extended synchronization for methodResolverCache (SPR-7525)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3643 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-06 20:41:50 +00:00
Juergen Hoeller 99143de03f Servlet/PortletContextResource inherit isReadable, contentLength and lastModified from AbstractFileResolvingResource
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3590 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:57:37 +00:00
Juergen Hoeller ce3326a617 CommonsMultipartResolver cleans up all multipart files in case of multiple files for same name as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3589 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:52:54 +00:00
Juergen Hoeller e39f0704a2 WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3588 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:51:02 +00:00
Juergen Hoeller 034859d900 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3583 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:26:43 +00:00
Juergen Hoeller 3f7c46e16d revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3579 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 21:12:54 +00:00
Juergen Hoeller b4f2d35b49 PortletWrappingController supports Portlet 2.0 resource and event requests as well (SPR-7430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3525 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:47:32 +00:00
Juergen Hoeller 104afdec3f Portlet AbstractController consistently uses session mutex if "synchronizeOnSession" is active
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3524 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 11:46:15 +00:00
Juergen Hoeller 9a30fdb3b5 @ExceptionHandler works for inherited method and CGLIB proxies on Portlet controllers as well (SPR-7337)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3475 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-08 11:45:35 +00:00
Juergen Hoeller 0afe9a20fd Portlet @MVC's implicit render model will be updated at the end of the event phase
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3445 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:24:28 +00:00
Juergen Hoeller c5dcc2c88c @MVC handler methods reliably resolve MultipartRequest arguments with HiddenHttpMethodFilter (SPR-7296)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3431 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:45:42 +00:00
Juergen Hoeller b012508bdf revised Portlet SessionStatus.setComplete() to avoid re-exposure of attributes in render phase (SPR-6126); shortened implicit model render parameter name to "implicitModel" (SPR-7149)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3407 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 20:09:53 +00:00
Juergen Hoeller 21be98a8b5 fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3264 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 18:48:24 +00:00
Juergen Hoeller 3f56ed93db DispatcherPortlet passes handler instance into HandlerExceptionResolver for action exception; DispatcherPortlet applies preHandleRender callbacks in case of action exception as well (SPR-6959)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3197 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:17:31 +00:00
Juergen Hoeller 5c701c63ed use simple type name in "missing parameter" exception text
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3196 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:13:12 +00:00
Juergen Hoeller 6132e318b1 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3195 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 21:12:40 +00:00
Juergen Hoeller 2ec66b066b NativeWebRequest detects native MultipartRequest even when decorated (SPR-6594)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3189 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 10:24:39 +00:00
Juergen Hoeller 79fc317d2e WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2845 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 22:09:13 +00:00
Juergen Hoeller cb2adcaa8d removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 00:51:32 +00:00
Juergen Hoeller 00dc3b04a1 reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2614 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 22:29:43 +00:00
Juergen Hoeller 88667350e5 added order property to AnnotationMethodHandlerAdapter (SPR-6516)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2587 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:42:44 +00:00
Arjen Poutsma 1d9da4191e SPR-5802 - NullPointerException when using @CookieValue annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2544 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 10:16:14 +00:00
Arjen Poutsma fb61fda316 SPR-6301 - Support @RequestHeader on HttpHeaders parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2267 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 15:42:24 +00:00
Juergen Hoeller 215f0f6841 reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2172 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-23 17:46:16 +00:00
Juergen Hoeller af32913f07 revised version checks and exception signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2160 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 16:53:24 +00:00
Juergen Hoeller ef6ad7fd7d polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2096 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:49:34 +00:00
Juergen Hoeller 3608581a42 @Event/ResourceMapping uniquely mapped to through event/resource id, even across controllers (SPR-6062); type-level @RequestMapping header conditions validated in Portlet environments as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2020 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 14:45:35 +00:00
Juergen Hoeller f752ccbe91 all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2013 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:46:38 +00:00
Juergen Hoeller 599910699a fixed overview files
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Juergen Hoeller 65c6ec8a82 do not check for action exception in resource phase (SPR-6129)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1944 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-20 21:12:41 +00:00
Juergen Hoeller 05ab1cea77 @RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1877 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:48:15 +00:00
Juergen Hoeller 317022ee8e initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1836 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 23:58:42 +00:00
Arjen Poutsma db7751e5ee SPR-2784: Support MultipartFile-array property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1783 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-28 09:15:19 +00:00
Juergen Hoeller 26afab07f9 revised WebApplicationContext id determination; lazy logger initialization in ContextLoaderListener (SPR-5977)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1715 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-08 00:48:55 +00:00
Keith Donald a0e2b6b13b initial BindingLifecycle @MVC integration
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1659 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-30 11:18:39 +00:00
Arjen Poutsma 8b37f28f2b SPR-5633 - Portlet-version of @ExceptionHandler
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-30 10:10:36 +00:00
Juergen Hoeller 5c19909c61 preserve custom pre-bound RequestAttributes implementations (for Grails)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1490 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-08 15:11:15 +00:00
Chris Beams 49b6bbc8fa RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
* Applied patch submitted by Carlos Zuniga


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Juergen Hoeller 1d1dba1693 Servlet/Portlet ApplicationContexts use a specific id based on servlet/portlet name; DefaultListableBeanFactory references are serializable now when initialized with an id; scoped proxies are serializable now, for web scopes as well as for singleton beans; injected request/session references are serializable proxies for the current request now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1127 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 22:29:55 +00:00
Juergen Hoeller f70e482841 renamed "contextProperties" attribute to "contextParameters" (matching web.xml naming); "contextParameters" contains Servlet/PortletConfig parameters as well; added default "servletContext" and "servletConfig" environment beans; added default "portletContext" and "portletConfig" environment beans; added default web scope "application", wrapping a ServletContext/PortletContext; MockPortletSession supports destruction of session attributes on invalidation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1094 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 12:12:01 +00:00
Arjen Poutsma d10d95e98d SPR-5426 - Allow for custom processing or result objects returned from handler/controller methods
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1093 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 11:40:36 +00:00
Juergen Hoeller 61e640c85c request handler methods with @ModelAttribute annotation always return a model attribute (for Portlet MVC as well)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@900 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:31:45 +00:00
Arjen Poutsma 49e870246d SPR-5409 - Support for PUTting and POSTing non-form data
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@823 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 16:33:27 +00:00