Commit Graph

3458 Commits

Author SHA1 Message Date
Juergen Hoeller afffa21643 skip collection conversion early if empty
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3449 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 19:32:29 +00:00
Juergen Hoeller 568f84f25e fixed test failures with respect to null handling and PropertyTypeDescriptor usage for collection elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3448 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 19:31:51 +00:00
Juergen Hoeller 7fb245167e ConversionService is able to deal with empty collections and nested collections (fixed regression; SPR-7289, SPR-7293); ConversionService properly handles nested Resource arrays in Map values (fixed regression; SPR-7295); ConversionService does not accidentally use copy constructor for same type (SPR-7304)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3447 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:29:34 +00:00
Juergen Hoeller 6a843cde2b BeanWrapper/DataBinder's "autoGrowNestedPaths" works for Maps as well (SPR-7285)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3446 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:27:37 +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 7be1856e9f Spring's MessageEndpointFactory classes are now JCA 1.6 compliant as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3444 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 17:23:11 +00:00
Keith Donald f586cec9c3 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3443 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:36:45 +00:00
Keith Donald 407b1bb354 mvc resources handler initial commit
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3442 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 21:26:03 +00:00
Oliver Gierke 2418c62ff1 SPR-7311 - Clarify usage of PropertyEditorRegistrars VS. plain configuration of customEditors property in CustomEditorConfigurer JavaDoc.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3441 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 12:41:59 +00:00
Oliver Gierke dda86a0756 Fixed language attribute in code sample to activate currently missing syntax highlighting.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3440 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 12:41:55 +00:00
Andy Clement e7319ba5e5 javadoc fix
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3439 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-21 22:13:49 +00:00
Sam Brannen 7cc7d1b883 Fixed "of the Spring" text and reformatted.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3438 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-21 20:37:08 +00:00
Juergen Hoeller 7e3fb3a8df prepared for 3.0.4 release
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3437 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:38:29 +00:00
Juergen Hoeller 3f8fc50b0f @CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3436 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:21:00 +00:00
Juergen Hoeller 391ecafe55 fixed order
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3435 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:11:51 +00:00
Juergen Hoeller 9e57fc0ff9 added test for invalid binding to ClassLoader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3434 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:11:36 +00:00
Juergen Hoeller a139f3b337 DispatcherServlet applies view name translation to error views as well (SPR-7298)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3433 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:06:56 +00:00
Juergen Hoeller 7e1acbd1be mvc:annotation-driven reliably detects JSR-303 and JAXB2 in an OSGi environment as well (SPR-7291)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3432 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:55:21 +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 b5194916cd Jaxb2Marshaller's "marshallerProperties" Map accepts any value type (SPR-7292)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3430 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:28:07 +00:00
Juergen Hoeller 94d6eb0d3e accept any EHCache 2.x version as well (SPR-7302)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3429 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 18:19:51 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Juergen Hoeller 463cd8e0b0 avoid ConverterNotFoundException if source object is assignable to target type
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3426 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 09:35:39 +00:00
Costin Leau c04935fc26 SPR-6819
changed JPA dependency to provided

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3425 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 06:33:20 +00:00
Oliver Gierke cbfb11fffb Rollback accidental commit :/.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3424 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:33:39 +00:00
Oliver Gierke d3de491ea1 Added missing imports.
Added additional annotation to test interface to make sure no ClassCastException appears.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3423 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:29:48 +00:00
Oliver Gierke ccc01a9583 Added helper methods to access method parameter annotations.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3422 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 05:29:45 +00:00
Juergen Hoeller 3e128d8beb final touches for 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3421 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:27:15 +00:00
Juergen Hoeller d693442474 smarter guessing of the element type (SPR-7283)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3420 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:26:44 +00:00
Juergen Hoeller 7ad0b706c6 ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3419 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:23:49 +00:00
Juergen Hoeller ca716a9697 smarter guessing of the element type (SPR-7283)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3418 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 22:58:18 +00:00
Juergen Hoeller 689191548f properly support void.class in TypeDescriptor and GenericConversionService (SPR-7281)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3416 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 21:40:56 +00:00
Juergen Hoeller 858294f185 polished VFS support (SPR-7197)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3415 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 19:54:58 +00:00
Juergen Hoeller 7a9f9febf8 added warnings regarding accidental usage of @Configurable on a managed bean (SPR-7216)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3414 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 13:48:52 +00:00
Juergen Hoeller 53ac18362a added explicit section on autodetecting aspects through component scanning (SPR-7246)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3413 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 13:28:14 +00:00
Juergen Hoeller b2f90a6be9 fixed JExcel example code (SPR-7277)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3412 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-11 10:49:41 +00:00
Juergen Hoeller a56df735de set Tiles 2.2 ELAttributeEvaluator on RendererFactory as well (SPR-7251)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3411 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 22:13:31 +00:00
Juergen Hoeller c48a4ff9a3 Portlet MVC, etc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3410 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 21:49:02 +00:00
Juergen Hoeller f15338b7dd DefaultListableBeanFactory checks for alias circle on registerAlias (avoiding endless loop; SPR-7274)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3409 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 21:45:47 +00:00
Juergen Hoeller ec93f21809 MailSendException includes all messages as failed messages in case of a connect failure (SPR-7245)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3408 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-10 21:06:13 +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
Arjen Poutsma 675067544a SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3406 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 10:37:17 +00:00
Arjen Poutsma d589f8e8d5 SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3405 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-09 10:35:41 +00:00
Juergen Hoeller 979517d182 added EmbeddedValueResolver support to FormattingConversionServiceFactoryBean (SPR-7087)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3404 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 20:40:54 +00:00
Juergen Hoeller 91f14c1fe9 reuse a shared UrlPathHelper instance in order to avoid reinstantiation overhead (SPR-7269)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3403 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 14:14:08 +00:00
Juergen Hoeller 644817b47a avoid EntityManager close() exception through isOpen() check (SPR-7215)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3402 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 11:06:02 +00:00
Juergen Hoeller 8fad7f1520 avoid EntityManager close() exception through isOpen() check (SPR-7215)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3401 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 10:21:05 +00:00
Juergen Hoeller 52c6a7a6a4 revised DefaultLifecycleProcessor's handling of circular dependencies to avoid stack overflow (SPR-7266)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3400 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 10:08:33 +00:00
Juergen Hoeller be6385ea20 getAllInterfacesForClass introspects parent interfaces as well (SPR-7247)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3399 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 00:05:31 +00:00
Juergen Hoeller 3f838b6b69 added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3398 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 23:18:34 +00:00