Commit Graph
57 Commits
Author SHA1 Message Date
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
Juergen Hoeller 85b427afed ModelAndView's "cleared" state gets preserved in case of plain model Map access
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-20 11:48:26 +00:00
Juergen Hoeller 5fa3d7ae48 optimized OrderComparator usage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:19:57 +00:00
Juergen Hoeller e19066141f @RequestMapping type-level param constraints taken into account consistently
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-15 21:31:20 +00:00
Juergen Hoeller c64962792a completed documentation on session destruction callbacks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@631 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 11:51:53 +00:00
Juergen Hoeller 905c8fe509 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@625 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:11:03 +00:00
Juergen Hoeller 47f3b9881b ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@607 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:26:30 +00:00
Juergen Hoeller d4888bfebe Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:04:13 +00:00
Juergen Hoeller 1d408b265f introduced @CookieValue annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@560 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-20 18:32:24 +00:00
Juergen Hoeller 64c3767850 updated Spring Portlet MVC to Portlet API 2.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@552 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-19 23:32:32 +00:00
Chris Beams 2796c55974 Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:50:25 +00:00
Chris Beams bb29795904 moving unit tests from .testsuite -> .transaction
fixed externals issue with .portlet that caused build failure

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@455 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 19:46:35 +00:00
Chris Beams 2455ed7977 moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@453 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 18:45:41 +00:00
Juergen Hoeller f6e5f7086f added @RequestHeader support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@352 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-05 07:17:31 +00:00