Commit Graph
111 Commits
Author SHA1 Message Date
Juergen Hoeller 3caa4c2288 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@2012 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:42:49 +00:00
Arjen Poutsma d08309e04f SPR-6144 - @ResponseStatus annotation is ignored in an @Controller redirect (RedirectView)
SPR-5468 - Modify RedirectView to allow 301 Permanent Redirects

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2010 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:23:06 +00:00
Arjen Poutsma f8124f45f1 SPR-6093 - MVC Annotation Inheritance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2004 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:45:58 +00:00
Juergen Hoeller 0978ac24aa added simplest possible ExpressionEvaluator
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1992 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 15:48:48 +00:00
Juergen Hoeller a59eb986b5 removed Apache JSTL references completely
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1990 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 15:31:10 +00:00
Arjen Poutsma fdf8b450e6 SPR-6130 - Be able to specify a default content type when no extension is used in ContentNegotiatingViewResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1953 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 14:27:22 +00:00
Keith Donald d73d226a53 removed ignored test now that convert system has been revised
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1950 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 05:40:55 +00:00
Jeremy Grelle 0622172ea0 SPR-5931 - Allow non-standard attributes in <form> tags
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1946 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 02:48:00 +00:00
Juergen Hoeller 44a6ad7117 fixed checkbox macro (SPR-6120)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1931 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:42:36 +00:00
Keith Donald 3e8861c180 ignore failing test for now while revising converter system
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1920 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 21:11:52 +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
Rob Harrop 37276349d7 [SPR-5927] fixed FormTag attribute clearing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1826 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-06 19:09:29 +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 3d9dfb340f support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1750 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:30:42 +00:00
Arjen Poutsma 1b2834ad74 SPR-6009 - @ExceptionHandler methods are still expected to return a ModelAndView, even when consuming a ServletResponse/OutputStream/Writer
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1739 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-19 11:03:28 +00:00
Arjen Poutsma 22ab0f4ad3 SPR-6008 - @ResponseStatus on @ExceptionHandler method is ignored
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1738 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-18 14:37:23 +00:00
Arjen Poutsma 78b70dad35 SWS-548 - Expose suppressNamespace and suppressXSIType as properties to CastorMarshaller
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1737 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-18 10:45:20 +00:00
Juergen Hoeller eedfe34258 turned requestedSessionId into a settable property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1701 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 22:01:46 +00:00
Keith Donald 16b0b2e9d9 pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1692 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 15:51:59 +00:00
Arjen Poutsma 809b1d2c4f SPR-4700 - Add single checkbox input macro for Velocity and Freemarker
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1689 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 12:16:11 +00:00
Keith Donald 53c8646b54 moved multipart and bind to web project since independent of servlet and required by new native web request parameter map
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1666 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-31 04:10:22 +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 92ce56028a SPR-5953 - Allow SimpleMappingExceptionResolver to Resolve HTTP Status Codes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1653 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 12:57:56 +00:00
Arjen Poutsma 98d2c5a0b9 SPR-5923 - HttpMessageConverter selection as a result of @ResponseBody should consider the requested content type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1646 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 13:12:12 +00:00
Arjen Poutsma df46fe603f SPR-5870 - Add support for content negotiation based on a request parameter value
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1530 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-13 09:44:07 +00:00
Arjen Poutsma 0909d43f19 BindingJacsonConverter/View -> MappingJacksonConverter/View
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1510 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 14:25:39 +00:00
Mark Pollack 0d92d4afb3 SPR-5619 - (OpenSessionInViewTests, ClassUtilTests fixed)
Update org.sf.web/.classpath to refer to tiles 2.1.2

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1505 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 03:30:12 +00:00
Arjen Poutsma 0a5241a8a1 Added defaultViews property.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1454 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-01 10:01:19 +00:00
Arjen Poutsma b4bf6c75da FixedJsonView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1453 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-01 09:40:11 +00:00
Arjen Poutsma d8f28cb3da Fixing the build, stupid java.util.Date
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1450 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-30 09:05:56 +00:00
Arjen Poutsma 90221b9fcd Test for SPR-5822 - Extend @CookieValue mapping to support user-defined types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1423 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-25 11:50:00 +00:00
Arjen Poutsma ec63210be3 SPR-5853 - JSON formatting view for Spring MVC
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1415 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-24 13:55:36 +00:00
Arjen Poutsma 79f41818aa Fixing build
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1414 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-24 13:26:01 +00:00
Arjen Poutsma d59c0145c9 SPR-5772 - Annotation handler method matching doesn't get method/param choice right
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1399 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-19 10:26:14 +00:00
Arjen Poutsma efd346d579 Added @Override
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1384 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-15 09:30:46 +00:00
Arjen Poutsma b81ede9f55 Fixing tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1249 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 12:00:53 +00:00
Arjen Poutsma 16af500388 SPR-5766 - @ResponseBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1246 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 10:28:36 +00:00
Juergen Hoeller 6691cd09ec Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1171 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 14:22:03 +00:00
Juergen Hoeller 8a49660e47 replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1166 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:37:43 +00:00
Arjen Poutsma 2b1d156acf SPR-5732 - When no type conversion strategy is found on a @Controller handler method bind target, a 500 error code should be returned not a 400.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1144 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 14:52:14 +00:00
Arjen Poutsma 3854aea64b SPR-4927 - Return 405 instead of 404 when HTTP method is not supported
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1142 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 13:32:28 +00:00
Arjen Poutsma 0650a6d471 SPR-5731 - @Controller method order effects @RequestMapping behavior in ways not expected
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1141 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 10:34:56 +00:00
Arjen Poutsma e22f772c4c SPR-5726: Unexpected @RequestMapping semantics when class-level and method-level mappings used together
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1128 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 10:02:17 +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 c5521dfed7 added test for custom controller stereotype
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1104 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:37:43 +00:00
Arjen Poutsma 23b2eaa65d Moved DefaultHandlerExceptionResolver to fix a tangle.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1098 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 13:41:03 +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
Arjen Poutsma 9818f88199 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1049 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 12:57:30 +00:00
Arjen Poutsma f3fd3fa245 SPR-5690 - Request header filtering in @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1043 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 22:03:51 +00:00