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
38fe7d53c7
added test for system placeholders in PropertyPlaceholerConfigurer's Resource array property
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2830 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 15:52:52 +00:00
Arjen Poutsma
995f5a73cb
SPR-6467 - Allow ContentNegotiatingViewResolver to be strict ant return a 406 if no view found
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2816 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-15 16:37:58 +00:00
Arjen Poutsma
dd86a572bf
SPR-6640 - PathVariable does not work properly after updated to 3.0 GA
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2796 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 11:27:43 +00:00
Juergen Hoeller
4e278ffad0
added unit test for setRequiredFields with @MVC (SPR-6552)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2659 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:32:26 +00:00
Arjen Poutsma
6ac29a70e9
SPR-6502 - Broken @RequestMapping inheritance
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2594 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 16:44:51 +00:00
Arjen Poutsma
67d2f24b59
SPR-6528 - PathVariables of type double
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2590 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 14:25:21 +00:00
Arjen Poutsma
b96070163e
SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 13:59:07 +00:00
Keith Donald
26a1bed4fd
renamed path element to mapping per code review
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2551 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 16:32:59 +00:00
Arjen Poutsma
a22ab375cc
SPR-6375 - Register sensible default HTTP Message Converters based on what is available in the classpath
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2547 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:21:13 +00:00
Arjen Poutsma
bc327a000e
SPR-6466 - ContentNegotiatingViewResolver can not handle View implementations returning null as content type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2543 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 10:10:27 +00:00
Keith Donald
d7906963a3
ability to have multiple path patterns per mapped interceptor definition
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2542 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 07:51:29 +00:00
Keith Donald
690e243482
added back mvc:interceptors element and added interceptor matching based on path pattern; needs review
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 02:55:02 +00:00
Keith Donald
8551f0dcb0
added detectInterceptors compatibility check
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2533 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 17:04:48 +00:00
Arjen Poutsma
08c639389b
HttpMessageConverter.supports() is split into canRead/canWrite.
...
HttpMessageConverter.write() now allows for a specific content type.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2529 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 13:23:15 +00:00
Keith Donald
8aa99e99f4
removed now obsolete test case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2511 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 08:39:46 +00:00
Keith Donald
2440277399
SPR-6413 and SPR-6414 first cut: needs review, particularly compatibility note in AbstractHandlerMapping
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2510 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 08:27:42 +00:00
Arjen Poutsma
ca554d73d4
SPR-6378 - RC2: Issue with RequestMethod.GET differs from M2
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2507 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 11:12:03 +00:00
Arjen Poutsma
c2b7b406c4
SPR-6280 - PathVariable resolution does not work properly
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2499 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 13:53:37 +00:00
Keith Donald
d491dc760e
used managed list to detect bean definitions
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2489 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 17:26:07 +00:00
Keith Donald
ef3cf61484
mvc namespace interceptors element--ignoring test case until issue with setting collection of bean definition property values is resolved
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2488 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 16:00:53 +00:00
Keith Donald
d20ba0adec
mvc:interceptors namespace element initial commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2487 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 15:17:26 +00:00
Keith Donald
36d3e034ab
found hotspot; added ConverisonServiceFactoryBean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2474 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:57:40 +00:00
Juergen Hoeller
73b9a5ef0e
mvc:annotation-driven exposes default Validator and ConversionService as top-level beans (SPR-6377)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2464 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:34:24 +00:00
Juergen Hoeller
39bf8dc02e
added chaining-capable "add" method to MutablePropertyValues
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
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