Commit Graph

497 Commits

Author SHA1 Message Date
Juergen Hoeller 17dfc8b0fc fixed constructor resolution algorithm to trigger ambiguity exception as late as possible 2009-07-29 16:43:12 +00:00
Juergen Hoeller 3cb073abce revised non-lenient resolution 2009-07-28 14:43:37 +00:00
Keith Donald 1d6a7e57c1 delegate to presentation model 2009-07-28 14:01:55 +00:00
Keith Donald de234e6839 polish 2009-07-27 22:23:50 +00:00
Keith Donald d2d1de5457 mvc binding lifecycle; packaged with model map for now since it depends on it 2009-07-27 22:20:07 +00:00
Keith Donald f0ca94d5f3 new presentation model methods; ability to surpress commit of dirty value in PMB 2009-07-27 21:49:09 +00:00
Keith Donald 0f434883dd binding lifecycle per design review 2009-07-27 21:25:51 +00:00
Keith Donald cd9f0bc10c package info 2009-07-27 18:23:33 +00:00
Mark Fisher fa1676460a Replaced BinderSupport with a refactored AbstractBinder that delegates to a FieldBinder whose creation is the responsibility of each subclass. 2009-07-27 14:39:20 +00:00
Juergen Hoeller 1eabe2b441 lenientConstructorResolution flag applies to factory methods as well 2009-07-27 14:09:42 +00:00
Keith Donald e85ad67fd0 javadoc 2009-07-27 12:39:23 +00:00
Keith Donald ca060cea42 binder support 2009-07-27 12:36:16 +00:00
Mark Fisher ac56f1f9b1 Removed @Override on interface method. 2009-07-27 01:10:53 +00:00
Mark Fisher 88a68042ba Initial import of GenericBinder. 2009-07-27 01:05:46 +00:00
Keith Donald 110ada7626 polish 2009-07-26 21:28:53 +00:00
Keith Donald 0124224ebf polish 2009-07-26 21:27:58 +00:00
Keith Donald ce8f07994d polish 2009-07-26 21:25:39 +00:00
Keith Donald 505f3c245a polish 2009-07-26 21:24:00 +00:00
Keith Donald da7e596b2a default message factory 2009-07-26 21:22:13 +00:00
Keith Donald 4ed3924e6f javadoc polish; added errors() to BindingResults 2009-07-26 20:57:22 +00:00
Keith Donald e6b6743c44 bind template polish 2009-07-26 20:24:44 +00:00
Keith Donald a66aa8c320 added bind template / field binder 2009-07-26 20:23:51 +00:00
Keith Donald 16b06306e0 presentation model binder tests 2009-07-25 17:40:42 +00:00
Keith Donald dbf41e630b polish 2009-07-25 17:39:35 +00:00
Keith Donald edd7bb8d03 collapsed into support 2009-07-25 04:42:58 +00:00
Keith Donald 990d446c84 polish 2009-07-25 04:40:31 +00:00
Keith Donald 4a1d51f082 updated test package structure 2009-07-25 04:21:44 +00:00
Keith Donald 63336ff4a4 polish 2009-07-25 04:14:43 +00:00
Keith Donald 934d4a5fe0 moved model binding and validation related code into model module-level package; separated out ui concerns into ui subpackage 2009-07-25 04:07:21 +00:00
Keith Donald de5528840d presentation model binder 2009-07-24 23:20:49 +00:00
Keith Donald 8709959a98 polish 2009-07-24 21:01:57 +00:00
Keith Donald 5f9a541386 polish 2009-07-24 21:01:33 +00:00
Keith Donald 55aae08e32 polish 2009-07-24 20:14:51 +00:00
Mark Fisher 1bfb26e4b2 updated aspectj weaver version in .classpath files to match ivy.xml configuration 2009-07-24 20:09:01 +00:00
Keith Donald f261b5c3c4 javadoc polish 2009-07-24 20:07:20 +00:00
Keith Donald a7465c1475 javadoc polish 2009-07-24 19:40:11 +00:00
Keith Donald bbe4c2b611 polish 2009-07-24 19:32:34 +00:00
Keith Donald a6cd69dc7c polish 2009-07-24 19:17:47 +00:00
Keith Donald 9bdbad55e5 javadoc improvements 2009-07-24 19:11:54 +00:00
Keith Donald 4255b7b1b2 updated package descriptions to reflect latest refactoring 2009-07-24 16:16:13 +00:00
Keith Donald 5cb5169237 Refactored class naming to capture ui.binding system as a general PresentationModel framework; PresentationModel and FieldModel are the key API elements now 2009-07-24 15:50:37 +00:00
Juergen Hoeller c7b019cd5c @Required does not get processed on beans returned by @Bean factory methods (SPR-5744) 2009-07-24 13:29:28 +00:00
Keith Donald 840ac88b29 more pruning 2009-07-23 14:03:20 +00:00
Keith Donald a74422ed65 polish 2009-07-23 13:55:39 +00:00
Keith Donald 14018541e2 polish 2009-07-23 13:43:23 +00:00
Keith Donald 55a7ba8357 binding executor 2009-07-23 13:39:33 +00:00
Keith Donald 29768cb068 binding factory locator 2009-07-23 13:31:06 +00:00
Keith Donald a3b57e2a84 polish 2009-07-22 20:02:35 +00:00
Keith Donald d5e6d91cc4 polish 2009-07-22 19:56:24 +00:00
Keith Donald ab7e985d72 polish 2009-07-22 19:55:35 +00:00
Keith Donald 6e05d3bd6e updated tests 2009-07-22 19:37:26 +00:00
Keith Donald 6c5fb23e79 data binding system polish; package improvements 2009-07-22 19:37:06 +00:00
Juergen Hoeller f519406c37 @Primary/@Lazy/@DependsOn supported as meta-annotations; @Bean supported as meta-annotation on factory methods as well 2009-07-22 15:23:22 +00:00
Christian Dupuis a4bbd9abda xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import 2009-07-22 14:06:44 +00:00
Juergen Hoeller 4deef3796e @PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945) 2009-07-22 12:52:47 +00:00
Keith Donald 5f99d02292 formatValue collection/array 2009-07-21 23:27:24 +00:00
Keith Donald 4e50c51139 list binding working 2009-07-21 22:54:52 +00:00
Keith Donald 14dd30c5a5 nested binding work; list binding still has kinks 2009-07-21 22:32:06 +00:00
Juergen Hoeller f739c3fde1 resort to using @Bean directly 2009-07-21 15:22:58 +00:00
Juergen Hoeller ec1f0e6211 support scope meta-annotations on factory methods as well 2009-07-21 14:23:25 +00:00
Juergen Hoeller 364641e9bc revised static annotation check 2009-07-21 14:12:16 +00:00
Juergen Hoeller 8c7aec3c97 scoped proxies retain original qualifiers (SPR-5911) 2009-07-21 13:00:00 +00:00
Keith Donald ec2833cd63 nested properties polish 2009-07-20 22:29:14 +00:00
Keith Donald dc5faec189 all tests back compiling, still a few failing marked ignored 2009-07-20 22:05:28 +00:00
Keith Donald 603ffe80c8 list element binding 2009-07-20 20:34:02 +00:00
Keith Donald 2da1bb8607 more passing tests 2009-07-20 19:07:32 +00:00
Keith Donald f39f91701d property not found / required 2009-07-20 16:10:06 +00:00
Keith Donald 3cd3cddbe0 type formatters 2009-07-20 14:26:29 +00:00
Keith Donald 8ceb64fe0c binding rule impl 2009-07-20 06:22:11 +00:00
Keith Donald 8147281c74 additional binding metadata 2009-07-20 03:48:57 +00:00
Keith Donald 9c78616e11 additional binding metadata 2009-07-20 03:48:32 +00:00
Keith Donald 263d502f51 polish 2009-07-19 06:42:33 +00:00
Keith Donald 0993e9cfb9 polish 2009-07-19 06:33:43 +00:00
Keith Donald 09c5d0eb97 binding status 2009-07-19 06:26:48 +00:00
Keith Donald 8d3fbc5df8 binding system refactoring - work in progress 2009-07-18 16:18:22 +00:00
Juergen Hoeller 8e2797153b revised lenient constructor resolution (follow-up to SPR-5816) 2009-07-16 17:22:03 +00:00
Juergen Hoeller a9254b34d1 introduced "lenientConstructorResolution" flag (SPR-5816) 2009-07-16 13:27:47 +00:00
Juergen Hoeller cf29d1c367 constructor argument type matching supports arrays and simple class names now (SPR-5844) 2009-07-16 11:25:52 +00:00
Chris Beams 9e0d87c518 SPR-5932 - Singleton @Bean methods behave like prototypes in a Spring DM environment
* s/registerCallbacks/registerStaticCallbacks/ - see issue comments for full details
2009-07-15 19:38:47 +00:00
Chris Beams 9163d8043b updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed. 2009-07-15 07:26:31 +00:00
Keith Donald 9be56a39b4 moved binding configuration to publis binder api 2009-07-14 13:58:39 +00:00
Keith Donald 0576fe2654 removed experimental stuff 2009-07-13 21:22:59 +00:00
Keith Donald 2cf157e09a polish 2009-07-13 21:17:54 +00:00
Keith Donald 5904814ec6 ignore cases from some tricky scenarios 2009-07-12 18:05:13 +00:00
Keith Donald 1344a6d4d0 more converters; since 3.0 2009-07-12 17:47:33 +00:00
Keith Donald c519f2bd3a string to map 2009-07-10 23:42:39 +00:00
Keith Donald f53e627bb5 string array to map converter 2009-07-10 23:27:27 +00:00
Keith Donald e4c868b837 javadoc 2009-07-10 21:32:24 +00:00
Andy Clement 85eda27cd4 for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo. 2009-07-10 19:43:32 +00:00
Keith Donald e85a6740d8 new tests for andy 2009-07-10 18:49:38 +00:00
Mark Pollack 8c9346718b POM maintenance/development - initial jarjar support in maven build for ASM 2009-07-10 02:12:50 +00:00
Mark Pollack 0c16554e23 SPR-5803 and additional POM maintenance/development 2009-07-09 19:38:07 +00:00
Keith Donald c9a87de141 polish 2009-07-09 15:37:41 +00:00
Keith Donald 5cb03fa290 collapsed binding factory into binder for time being 2009-07-09 15:36:31 +00:00
Keith Donald 2db239031f polish 2009-07-09 05:51:49 +00:00
Keith Donald 80760ed7a4 polish 2009-07-09 05:22:51 +00:00
Keith Donald 0c1c5fffba collection property type formatters 2009-07-09 05:18:15 +00:00
Keith Donald 2be6ce0407 binding string to list 2009-07-09 04:37:28 +00:00
Keith Donald 2aef75b907 list binding tests 2009-07-09 03:30:19 +00:00
Keith Donald cbe6695273 formatted annotation to apply to formatted value object classes 2009-07-08 23:21:09 +00:00
Keith Donald 90bafe35cb forgot to commit type descriptor 2009-07-08 22:46:29 +00:00
Keith Donald 2bbf827d57 numerous binding enhancements; removed lazy binding for time being 2009-07-08 21:43:35 +00:00
Keith Donald dc935dcd6d added validation result 2009-07-03 15:14:23 +00:00
Keith Donald 2bc76bcd68 initial validation constraint spi commit 2009-07-03 15:13:47 +00:00
Sam Brannen 620c9b1f96 [SPR-5895] Upgraded to EasyMock 2.5.1. 2009-07-03 09:32:15 +00:00
Sam Brannen 8bfb56c75b [SPR-5887] Upgraded to JUnit 4.6.0. 2009-07-02 18:07:55 +00:00
Sam Brannen 0bbca8624f Made fragile tests a little less fragile: increased max times. 2009-07-02 18:02:58 +00:00
Sam Brannen 58db51324d Made fragile tests a little less fragile: increased max times. 2009-07-02 16:02:24 +00:00
Keith Donald 3c76303416 polish 2009-06-26 16:09:18 +00:00
Keith Donald e4d091489b polish 2009-06-26 15:35:28 +00:00
Keith Donald 7e3c1bf09a prepping for jsr 303 integration 2009-06-26 15:33:35 +00:00
Keith Donald 0edc3d94bd polish 2009-06-26 15:19:03 +00:00
Keith Donald b0129111c5 javadoc 2009-06-26 15:11:00 +00:00
Keith Donald 60c2b38c03 Alerts test 2009-06-26 15:09:56 +00:00
Keith Donald 3b68cde32b alerts static factory 2009-06-26 14:47:18 +00:00
Keith Donald 18412ae295 polish 2009-06-26 12:47:52 +00:00
Keith Donald 604e4b6db3 polish 2009-06-26 05:28:25 +00:00
Keith Donald 03c125ebd0 javadoc 2009-06-26 05:16:59 +00:00
Keith Donald 9c5a538ae7 bind and validate lifecycle rename 2009-06-26 05:02:00 +00:00
Keith Donald 023d05e37f set locale 2009-06-26 04:52:50 +00:00
Keith Donald a0a5fcb4d9 polish 2009-06-25 20:28:53 +00:00
Keith Donald 00702e4e1c polish 2009-06-25 20:27:39 +00:00
Keith Donald 5828010bae Added binder factory; simplified public binder api 2009-06-25 20:26:22 +00:00
Keith Donald 9b7e9942db polish 2009-06-25 19:18:02 +00:00
Keith Donald 6ce119483d copyright 2009-06-25 18:26:07 +00:00
Keith Donald 3f5c43aaf5 message builder 2009-06-25 18:23:07 +00:00
Keith Donald a0520501d3 removed user values in favor of simple map after code review 2009-06-25 03:17:04 +00:00
Keith Donald 1117050815 naming improvements since design review 2009-06-24 22:24:15 +00:00
Keith Donald 511701ebf4 polish 2009-06-24 22:09:46 +00:00
Keith Donald f1b936515f @Model and @Bound annotations for configuring Binder instance from annotation model beans 2009-06-23 17:53:16 +00:00
Keith Donald 4ea373b7dd factored out alert from message; made binding responsible for alert generation 2009-06-18 18:09:01 +00:00
Sam Brannen f749eacbc2 Disabled testExecuteLifecycleBindingErrors() until it passes consistently in the Ant build on Mac OS X. 2009-06-18 12:14:46 +00:00
Mark Fisher b2d73b9824 The 'task' sub-element of the 'scheduled-tasks' element is now 'scheduled' to be consistent with the @Scheduled annotation (and to avoid task:task). 2009-06-17 19:39:51 +00:00
Keith Donald 9368e76ffc web bind and lifecycle tests; polish 2009-06-17 15:56:07 +00:00
Keith Donald 62eae6d06a message argument accessor - thanks andy 2009-06-17 03:12:44 +00:00
Keith Donald 3504ba3374 polish 2009-06-13 18:38:04 +00:00
Keith Donald 7ef1dace6e polish 2009-06-13 18:31:32 +00:00
Keith Donald 6d59dad4b2 since 3.0; lifecycle pkg 2009-06-13 18:26:48 +00:00
Keith Donald 42cdeb4302 since 3.0 2009-06-13 18:25:59 +00:00
Keith Donald 079b856a6c javadoc 2009-06-13 18:02:40 +00:00
Keith Donald aba0b6d7e0 ignore failing test for now - andy c to investigate next wk 2009-06-13 17:23:40 +00:00
Keith Donald dea3f3433b ignore failing test for now - andy c to look at next wk 2009-06-13 17:20:49 +00:00
Keith Donald d0079c6058 el-based message resolution; expected failure right now 2009-06-13 17:18:12 +00:00
Keith Donald 97e7dfb398 intermediate commit - wip bind and validate lifecycle 2009-06-13 12:45:25 +00:00
Sam Brannen 0096930a72 Moving Validator and ValidateResults from src/test to src/main so that the build is no longer broken. 2009-06-12 12:18:34 +00:00
Sam Brannen 20195eb66b JavaDoc typo 2009-06-12 09:29:24 +00:00
Keith Donald 04fa16b699 successes/failures impl 2009-06-11 21:00:19 +00:00
Keith Donald 75c7a7aeeb polish 2009-06-11 20:56:47 +00:00
Keith Donald 1d6a3e5360 bind and validate lifecycle initial commit 2009-06-11 20:29:01 +00:00
Keith Donald 8998228fac formatter registry 2009-06-11 19:03:43 +00:00