Commit Graph

79 Commits

Author SHA1 Message Date
Juergen Hoeller baa83177f9 optional boolean parameters in MVC handler methods resolve to "false" if not present
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@630 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 11:46:55 +00:00
Arjen Poutsma d9049bace9 Solved concurrency issue
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@612 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 22:10:47 +00:00
Juergen Hoeller 47f3b9881b ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@607 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:26:30 +00:00
Arjen Poutsma 1f1968e93f SPR-5452: Content negotiation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@602 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 14:38:30 +00:00
Arjen Poutsma 2b0ce30843 Added link to Atom spec in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@600 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-06 08:18:37 +00:00
Scott Andrews 9c867cfa3d javadoc polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@578 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 15:18:25 +00:00
Scott Andrews c28ee3cdf9 SPR-2733 Improvement for handling checkboxes in web forms (patch included)
Introduced default field prefix of '!', which can be overridden with WebDataBinder#setFieldDefaultPrefix.  If a field is otherwise not present, the default value is used for the field.  Field markers for the same field are ignored.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@576 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 00:03:33 +00:00
Scott Andrews ba127b91f1 SPR-3389 Nicer handling of Java 5 enums by the Spring MVC form taglib.
The form:options and form:radiobuttons tags will now render a set of options automatically if the bind target is an Enum and items are not otherwise specified.  The values of the enum are converted into form inputs where by default the form value is the enum's name() and the form label is the enum's toString().

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@575 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 20:36:36 +00:00
Scott Andrews 26a43a0fee updating eclipse settings and classpaths
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-21 23:02:43 +00:00
Arjen Poutsma 5ba97a8b85 SPR-5367: PathVariable mappings are greedy over hard coded mappings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@563 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-21 17:45:42 +00:00
Juergen Hoeller 1d408b265f introduced @CookieValue annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@560 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-20 18:32:24 +00:00
Juergen Hoeller e4f05f1ec2 consistent copies of mocks
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@559 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-20 18:08:14 +00:00
Juergen Hoeller 81880e175a consistent mock behavior
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@554 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-19 23:35:42 +00:00
Juergen Hoeller 12b3e01b12 revised common handler method processing for Portlet 2.0 update
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@553 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-19 23:34:41 +00:00
Arjen Poutsma a82a616cd4 Added simple test for SPR-5365
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-14 11:04:28 +00:00
Juergen Hoeller d59bf0fd9d javadoc updates for 3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@538 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-14 09:29:30 +00:00
Juergen Hoeller 02c2e1795d Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@537 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-14 09:27:51 +00:00
Arjen Poutsma 8cc2c3941e SPR-5380: MarshallingView should override AbstractView instead of AbstractUrlBasedView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@535 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-13 10:41:26 +00:00
Arjen Poutsma dece3d968e OXM is nearing completion
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@531 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-09 12:48:19 +00:00
Chris Beams e1965dea0f eliminated svn:externals in favor of localized copies of shared artifacts
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@472 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 21:27:18 +00:00
Chris Beams 2796c55974 Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@464 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-18 14:50:25 +00:00
Chris Beams 2455ed7977 moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@453 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 18:45:41 +00:00
Chris Beams b2f575b032 moving unit tests from .testsuite -> .test, .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@451 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-17 16:28:56 +00:00
Chris Beams 1f9e68a0f9 moving unit tests from .testsuite -> .web.servlet
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@426 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-15 22:49:08 +00:00
Chris Beams 7480796cd9 fixed incorrect version for javax.el in .classpath files (was 2.1.0, now set to 1.0.0)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@356 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-07 01:08:37 +00:00
Juergen Hoeller f6e5f7086f added @RequestHeader support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@352 50f2f4bb-b051-0410-bef5-90022cba6387
2008-12-05 07:17:31 +00:00
Christian Dupuis 59d71e9f9b updated .classpath files to reflect recent changes in ivy files; aspectj.weaver 1.6.2 -> 1.6.2.RELEASE
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@349 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-29 04:46:36 +00:00
Juergen Hoeller e016a80f63 fixed javadoc errors
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@347 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-28 13:56:30 +00:00
Juergen Hoeller 5c2a9bf250 Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@346 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-28 11:39:36 +00:00
Juergen Hoeller f388e47598 consistent compilation against Servlet 2.5, JSP 2.1 and JUnit 4.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@345 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 21:49:10 +00:00
Juergen Hoeller e4ce547934 Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@342 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 17:35:44 +00:00
Juergen Hoeller a0dfb69aaa Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@341 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-27 00:27:52 +00:00
Costin Leau e8b4d0bd2b + migrated some manifest template changed from 2.5.x to 3.0.x
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@334 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-25 22:20:53 +00:00
Juergen Hoeller 0b0163e026 Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@331 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-25 01:29:54 +00:00
Juergen Hoeller a5253bec7f EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@305 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-20 02:10:53 +00:00
Arjen Poutsma d3b7590311 SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@303 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-19 17:12:44 +00:00
Arjen Poutsma e6c75e7de9 SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@302 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-19 17:08:34 +00:00
Arjen Poutsma e1fcf853bc Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@301 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-19 15:44:21 +00:00
Arjen Poutsma 011409a7ab SPR-5251: URI Templates for @InitBinder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@294 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-18 12:37:12 +00:00
Arjen Poutsma c60f1851df SPR-5251: URI Templates in @RequestMapping
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@293 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-17 16:00:03 +00:00
Scott Andrews 6ab1b3476e SPR-5299 TLDs must be located under META-INF
Moving spring.tld and spring-form.tld under /src/main/resources/META-INF so they can be automatically discovered by the servlet container.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@292 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-17 15:10:26 +00:00
Arjen Poutsma 1e7f22bf9d Updated projects and ivy.xmls
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@291 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-17 15:09:17 +00:00
Arjen Poutsma f4ba1a2068 Added test for ServletAnnotationMappingUtils
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@290 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-17 13:39:10 +00:00
Scott Andrews c76383fc0d SPR-5267 Support for PUT and DELETE in spring:form tag
Any HTTP method passed to the spring-form:form tag other then GET or POST will automatically be defaulted to POST on the form tag and a hidden input field is created with the requested HTTP method.  By default, the hidden field is named '_method', the name can be overridden using the methodParam attribute on the spring-form:form tag.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@289 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-16 22:03:16 +00:00
Scott Andrews 13fa535939 SPR-5298 JSP tag for building URLs with URI templates
Created spring:url and spring:param tags that enhance the functionality of the JSTL c:url tag.  URI templates are supported in the url value attribute.  They are resolved against the params defined inside the url tag body.  Params that are unable to be applied as URI template are added to the query string.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@288 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-16 21:04:46 +00:00
Scott Andrews e523d5c140 syncing eclipse classpath settings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@287 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-14 01:51:48 +00:00
Arjen Poutsma 5120bfd0e9 Fixed test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@286 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-08 10:24:07 +00:00
Arjen Poutsma a5d3837e7a SPR-4927: Return 405 instead of 404 when HTTP method is not supported
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@284 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-08 09:37:55 +00:00
Arjen Poutsma 81335ca2c5 SPR-5066
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@281 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-07 10:22:43 +00:00
Arjen Poutsma 06d3e4fb99 SPR-5237: Default value for @RequestParam
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@279 50f2f4bb-b051-0410-bef5-90022cba6387
2008-11-04 14:39:53 +00:00