Commit Graph

300 Commits

Author SHA1 Message Date
Juergen Hoeller a7a03356f4 revised JSP-based views to never fail when trying to setting forward attributes (SPR-6623) 2010-01-05 14:03:27 +00:00
Juergen Hoeller b594192425 refactored to pass along original ServletContext (for WebLogic and Resin JSP compatibility; SPR-6606) 2010-01-05 13:27:53 +00:00
Christian Dupuis f3274624b3 STS-723: fixed ViewControllerBeanDefinitionParser to not rely on instance state for handler mapping and handler adapter bean names 2009-12-22 16:52:33 +00:00
Juergen Hoeller 5f9f69958e refined PropertyEditor exposure for the ConversionService case 2009-12-15 11:34:19 +00:00
Juergen Hoeller 26b3443299 added unit test for setRequiredFields with @MVC (SPR-6552) 2009-12-14 21:32:26 +00:00
Christian Dupuis 7c6c1c3ad8 some minor adjustments to the mvc namespace to make it work in the tools 2009-12-11 23:03:49 +00:00
Juergen Hoeller 1e1964a060 reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534) 2009-12-09 22:29:43 +00:00
Arjen Poutsma 27e0642543 SPR-6502 - Broken @RequestMapping inheritance 2009-12-07 16:44:51 +00:00
Arjen Poutsma 8678652f3e SPR-6528 - PathVariables of type double 2009-12-07 14:25:21 +00:00
Arjen Poutsma 976f920db2 SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character 2009-12-07 13:59:07 +00:00
Juergen Hoeller f36e8252c8 polishing 2009-12-07 09:43:16 +00:00
Juergen Hoeller f72769a621 added order property to AnnotationMethodHandlerAdapter (SPR-6516) 2009-12-07 09:42:44 +00:00
Juergen Hoeller 132bb8a672 polishing 2009-12-01 02:45:12 +00:00
Keith Donald b7b52fffea renamed path element to mapping per code review 2009-11-30 16:32:59 +00:00
Arjen Poutsma 81d7f5bc5a SPR-6375 - Register sensible default HTTP Message Converters based on what is available in the classpath 2009-11-30 12:21:13 +00:00
Arjen Poutsma cc32399878 SPR-6470 - Make filterModel() in MappingJacksonJsonView more lenient 2009-11-30 10:29:27 +00:00
Arjen Poutsma 73b54f4efe SPR-6466 - ContentNegotiatingViewResolver can not handle View implementations returning null as content type 2009-11-30 10:10:27 +00:00
Keith Donald c8d6360855 ability to have multiple path patterns per mapped interceptor definition 2009-11-30 07:51:29 +00:00
Keith Donald d4a21f1db8 added back mvc:interceptors element and added interceptor matching based on path pattern; needs review 2009-11-30 02:55:02 +00:00
Keith Donald fbfa67e8a6 ordered sorting 2009-11-28 07:20:20 +00:00
Keith Donald 57f0a7d94b added detectInterceptors compatibility check 2009-11-27 17:04:48 +00:00
Arjen Poutsma dc0613f487 HttpMessageConverter.supports() is split into canRead/canWrite.
HttpMessageConverter.write() now allows for a specific content type.
2009-11-27 13:23:15 +00:00
Juergen Hoeller a1916ca765 polishing 2009-11-27 01:49:18 +00:00
Sam Brannen 218051464d Fixed typo 2009-11-26 12:12:14 +00:00
Keith Donald 8259d45583 removed now obsolete test case 2009-11-26 08:39:46 +00:00
Keith Donald de1d548725 SPR-6413 and SPR-6414 first cut: needs review, particularly compatibility note in AbstractHandlerMapping 2009-11-26 08:27:42 +00:00
Arjen Poutsma 89975c8b79 SPR-6378 - RC2: Issue with RequestMethod.GET differs from M2 2009-11-25 11:12:03 +00:00
Arjen Poutsma ef50082cad SPR-6280 - PathVariable resolution does not work properly 2009-11-24 13:53:37 +00:00
Keith Donald 94eeb99333 used managed list to detect bean definitions 2009-11-21 17:26:07 +00:00
Keith Donald 7309b11849 mvc namespace interceptors element--ignoring test case until issue with setting collection of bean definition property values is resolved 2009-11-21 16:00:53 +00:00
Keith Donald 44fcc572a7 mvc:interceptors namespace element initial commit 2009-11-21 15:17:26 +00:00
Keith Donald d9aab1079c found hotspot; added ConverisonServiceFactoryBean 2009-11-20 14:57:40 +00:00
Juergen Hoeller 4efa91d2f0 mvc:annotation-driven exposes default Validator and ConversionService as top-level beans (SPR-6377) 2009-11-19 22:34:24 +00:00
Juergen Hoeller 46cd083976 added chaining-capable "add" method to MutablePropertyValues 2009-11-19 22:30:35 +00:00
Juergen Hoeller 856fefeaad fixed javadoc to reflect current implementation (SPR-6390) 2009-11-19 19:27:40 +00:00
Keith Donald d85dc01e28 moved generic converter to spi; added entity converter; removed various service impls in favor of service factory 2009-11-19 09:10:51 +00:00
Luke Taylor 222ae33666 SPR-6087: Updated Javadoc for HandlerInterceptor to indicate invocation order of afterCompletion() methods 2009-11-16 13:24:00 +00:00
Jeremy Grelle 58841f3c66 Updated javadoc to reflect minimum JSP version 2.0 2009-11-13 01:39:20 +00:00
Jeremy Grelle 130ef7948d Fixed javadoc 2009-11-13 01:37:40 +00:00
Arjen Poutsma 60d2fdfcea SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped. 2009-11-13 01:27:54 +00:00
Keith Donald 70fe75384d fixed failing tests due to generic object to object converter fallback being over eager 2009-11-12 06:57:51 +00:00
Thomas Risberg 7844a633b5 added entry for unversioned xsd reference 2009-11-11 16:29:31 +00:00
Keith Donald fdabfefe32 docs 2009-11-11 15:51:43 +00:00
Keith Donald a725717261 tests for custom conversion service / validator 2009-11-11 15:43:57 +00:00
Christian Dupuis cb8b603bdf update icon for mvc namespace 2009-11-11 15:42:53 +00:00
Keith Donald e690bf0c62 not needed according to Christian 2009-11-11 15:28:29 +00:00
Keith Donald 6f3dfe13d0 mvc namespace conversion-service and validator attributes 2009-11-11 15:26:08 +00:00
Keith Donald 4b76cdd1a3 date time format code review 2009-11-10 20:34:59 +00:00
Keith Donald 1bb007c321 results of code review of mvc namespace 2009-11-10 19:15:32 +00:00
Keith Donald 91dd752e71 added test dep to ivy.xml causing build failure 2009-11-10 04:32:48 +00:00
Keith Donald 566516b89a polishing 2009-11-09 21:59:59 +00:00
Keith Donald 6f4112af80 updated favoring style pattern string instead of Style enum for DateTimeFormat 2009-11-09 21:07:41 +00:00
Costin Leau c3bf658058 SPR-6102
+ add old method for backwards compatibility
2009-11-09 19:11:41 +00:00
Costin Leau af0a529bb5 SPR-6102
+ loosen FrameworkServlet#createWebApplicationContext signature
2009-11-09 18:27:10 +00:00
Arjen Poutsma 077055c8f2 SPR-6291 - UrlPathHelper is too aggressive decoding URLs 2009-11-09 12:15:17 +00:00
Juergen Hoeller 2a0b3cf3c9 polishing 2009-11-07 01:30:50 +00:00
Juergen Hoeller 4e233047c8 TilesConfigurer only sets up EL support if JSP 2.1 is present (for JSP 2.0 compatibility; SPR-6309) 2009-11-07 01:16:40 +00:00
Juergen Hoeller b321376703 AbstractExcelView is compatible with Apache POI 3.0 as well as 3.5 now (SPR-6298) 2009-11-07 01:11:53 +00:00
Keith Donald fe4f41d33c default config for web binding initializer and formatting/conversion system w/ mvc namespace 2009-11-07 00:41:08 +00:00
Keith Donald ee15bbb494 mvc namespace installation of handler mapping and handler adapter 2009-11-06 15:38:08 +00:00
Keith Donald 733be4f400 spring mvc namespace initial commit; work in progress 2009-11-05 21:49:21 +00:00
Arjen Poutsma 8de34c6fa7 SPR-6301 - Support @RequestHeader on HttpHeaders parameters 2009-11-05 15:42:24 +00:00
Scott Andrews 6c80dbaa9e polish - removing unused import 2009-11-03 21:02:22 +00:00
Scott Andrews 67b5781dab 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.
2009-11-03 21:01:23 +00:00
Keith Donald 913bc03a3b 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 2009-10-30 18:44:40 +00:00
Arjen Poutsma 2288b2523e SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params 2009-10-29 11:18:43 +00:00
David Syer 0e85c66f2f SPR-6246: Java6 @Override removed 2009-10-28 13:56:11 +00:00
David Syer bce723d9e3 SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView. 2009-10-28 13:43:27 +00:00
David Syer c63cdb2444 OPEN - issue SPR-6246: Velocity MethodInvocationExceptions not properly reported
Added test case for exception.  This probably fails on a non-Sun JVM?
2009-10-27 12:32:14 +00:00
Arjen Poutsma d54a975af4 SPR-6248 - Accept header should not be mandatory for properly handling response body. 2009-10-27 10:50:45 +00:00
Juergen Hoeller ee8ed4e410 fixed getBean signature ambiguity in tests 2009-10-20 20:14:49 +00:00
Juergen Hoeller a429e230b6 revised version checks and exception signatures 2009-10-20 16:53:24 +00:00
Arjen Poutsma e24e768054 SPR-6164 - a Uri Value is incorrectly extracted if it contains '.'. 2009-10-15 09:18:14 +00:00
Arjen Poutsma 17d5b31af3 SPR-6206 - When looking up methods with @RequestMapping annotation, unannotated bridge methods are included 2009-10-14 12:24:04 +00:00
Arjen Poutsma 5310035700 SPR-6214 - Using @ResponseBody throws HttpMediaTypeNotAcceptableException when it supports writing an acceptable MediaType 2009-10-14 10:46:29 +00:00
Juergen Hoeller 74f4749372 fixed extraction of Controller suffix (SPR-6153) 2009-10-13 23:10:48 +00:00
Juergen Hoeller 677baaceb8 polishing 2009-10-13 20:49:34 +00:00
Juergen Hoeller 0c47a01953 fixed ContentNegotiatingViewResolver to work with the combination of ignoreAcceptHeader=true plus defaultContentType as well (SPR-6163) 2009-10-01 12:06:58 +00:00
Juergen Hoeller 0543a294ee expose arrays as comma-delimited element String 2009-10-01 11:05:45 +00:00
Juergen Hoeller 9cb1338b94 all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well 2009-09-25 10:42:49 +00:00
Arjen Poutsma e49869ea78 SPR-6148 - @ResponseBody with returned String results in unresolvable view ServletException 2009-09-25 10:34:54 +00:00
Arjen Poutsma 5b12503c47 SPR-6144 - @ResponseStatus annotation is ignored in an @Controller redirect (RedirectView)
SPR-5468 - Modify RedirectView to allow 301 Permanent Redirects
2009-09-25 10:23:06 +00:00
Juergen Hoeller 39a97a61af resolve handler bean name early; validate header conditions as well 2009-09-25 09:53:30 +00:00
Juergen Hoeller aec2bc097e polishing 2009-09-25 09:45:10 +00:00
Juergen Hoeller 09e6a85edd fixed overview files 2009-09-25 08:47:18 +00:00
Arjen Poutsma 04fa5d4b99 SPR-6093 - MVC Annotation Inheritance 2009-09-25 08:45:58 +00:00
Juergen Hoeller c761082eea added simplest possible ExpressionEvaluator 2009-09-24 15:48:48 +00:00
Juergen Hoeller 0463c612b5 removed Apache JSTL references completely 2009-09-24 15:31:10 +00:00
Arjen Poutsma 501a1ea9af SPR-5910 - Slight Improvement for Main JavaDoc in RedirectView 2009-09-24 08:31:33 +00:00
Arjen Poutsma 5faa4d90ac SPR-6130 - Be able to specify a default content type when no extension is used in ContentNegotiatingViewResolver 2009-09-21 14:27:22 +00:00
Keith Donald 5bae005366 removed ignored test now that convert system has been revised 2009-09-21 05:40:55 +00:00
Jeremy Grelle 982ece595c SPR-5931 - Allow non-standard attributes in <form> tags 2009-09-21 02:48:00 +00:00
Juergen Hoeller 6420fd303b fixed checkbox macro (SPR-6120) 2009-09-18 14:42:36 +00:00
Jeremy Grelle 1c134925ba SPR-6114 - Upgrade the Spring JSP tag libraries to JSP 2.0 2009-09-17 22:39:35 +00:00
Keith Donald e9d53cb2e8 ignore failing test for now while revising converter system 2009-09-17 21:11:52 +00:00
Juergen Hoeller bb70c9a4c4 @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) 2009-09-14 10:48:15 +00:00
Juergen Hoeller 6e95b2c311 polishing 2009-09-08 00:05:09 +00:00
Juergen Hoeller a86a698e5b initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry 2009-09-07 23:58:42 +00:00
Rob Harrop afd6fe9048 [SPR-5927] fixed FormTag attribute clearing 2009-09-06 19:09:29 +00:00
Arjen Poutsma 66a799552f SPR-2784: Support MultipartFile-array property 2009-08-28 09:15:19 +00:00