Commit Graph
137 Commits
Author SHA1 Message Date
Keith Donald 12b6feacac moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2447 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:10:51 +00:00
Arjen Poutsma 2daf5635cb SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2423 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:27:54 +00:00
Keith Donald e9b484b20e fixed failing tests due to generic object to object converter fallback being over eager
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2383 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 06:57:51 +00:00
Keith Donald 7328a32aad tests for custom conversion service / validator
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2331 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 15:43:57 +00:00
Keith Donald dd4c123427 date time format code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2318 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:34:59 +00:00
Keith Donald 7ce0d7841d results of code review of mvc namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2316 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 19:15:32 +00:00
Keith Donald a504e85dfc added test dep to ivy.xml causing build failure
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2308 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 04:32:48 +00:00
Keith Donald b65ef01bf9 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2306 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 21:59:59 +00:00
Keith Donald bc9ef36f26 updated favoring style pattern string instead of Style enum for DateTimeFormat
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2304 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 21:07:41 +00:00
Arjen Poutsma 437ec7d98d SPR-6291 - UrlPathHelper is too aggressive decoding URLs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2298 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 12:15:17 +00:00
Keith Donald e882d7216c default config for web binding initializer and formatting/conversion system w/ mvc namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2283 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 00:41:08 +00:00
Keith Donald bc54d99c21 mvc namespace installation of handler mapping and handler adapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2277 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 15:38:08 +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
Scott Andrews 0dc2caccc6 SPR-6296 Spring:url tag should not use application/x-www-form-urlencoded encoding
Work around for application/x-www-form-urlencoded encoding.  Replaces '+' from java.net.URLDecoder with charset specific encoded space value ('%20' for most charsets).

The custom urlEncode method should be replaced with calls to a true URL encoder once available.


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2244 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-03 21:01:23 +00:00
Keith Donald ca2b8bcb35 ui.format system refining from RC1 feedback: Support for one format annotation applying to multiple field types, Printer/Parser building blocks for more flexibility, full Joda time formatting support, FormattingService as a service entry-point for clients to use
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2233 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 18:44:40 +00:00
Arjen Poutsma cc6277e6f5 SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2224 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-29 11:18:43 +00:00
David Syer acc5cc246a SPR-6246: Java6 @Override removed
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2216 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-28 13:56:11 +00:00
David Syer 3dfa0fa3e9 SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2214 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-28 13:43:27 +00:00
David Syer 9f12330601 OPEN - issue SPR-6246: Velocity MethodInvocationExceptions not properly reported
Added test case for exception.  This probably fails on a non-Sun JVM?

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2192 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 12:32:14 +00:00
Arjen Poutsma 75be13acc0 SPR-6248 - Accept header should not be mandatory for properly handling response body.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2188 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 10:50:45 +00:00
Juergen Hoeller 1edefe991a fixed getBean signature ambiguity in tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2165 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 20:14:49 +00:00
Arjen Poutsma f87f59bc68 SPR-6164 - a Uri Value is incorrectly extracted if it contains '.'.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2126 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-15 09:18:14 +00:00
Arjen Poutsma c98fb43584 SPR-6206 - When looking up methods with @RequestMapping annotation, unannotated bridge methods are included
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2111 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 12:24:04 +00:00
Arjen Poutsma 3064522520 SPR-6214 - Using @ResponseBody throws HttpMediaTypeNotAcceptableException when it supports writing an acceptable MediaType
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2109 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 10:46:29 +00:00
Juergen Hoeller e2609c5962 fixed ContentNegotiatingViewResolver to work with the combination of ignoreAcceptHeader=true plus defaultContentType as well (SPR-6163)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2035 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 12:06:58 +00:00
Juergen Hoeller 2b72499587 expose arrays as comma-delimited element String
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2032 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 11:05:45 +00:00
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