Commit Graph

108 Commits

Author SHA1 Message Date
Arjen Poutsma 46d9409fe7 SPR-4677: Allow annotated methods on a Controller to be marked as exception handlers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@875 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 17:20:55 +00:00
Mark Pollack f17f9ef0f5 POM maintenance
Place parent pom in publicly accessible directory (org.sf.spring-parent).  
Create a component list pom in org.sf.spring-library.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@868 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-29 09:56:38 +00:00
Arjen Poutsma 33137847a3 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@865 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 21:20:18 +00:00
Arjen Poutsma 9988251912 SPR-5625 - Allow for exceptions to be annotated with a @ResponseStatus annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@864 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 11:19:45 +00:00
Arjen Poutsma 03a1aa5a97 Added tests for returned ModelAndView
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@863 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 11:07:18 +00:00
Arjen Poutsma 454f2e18b2 SPR-5624 - A default HandlerExceptionResolver that resolves standard Spring exceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@860 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 19:53:42 +00:00
Juergen Hoeller 53243273a4 refined version ranges in OSGi manifests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:29:48 +00:00
Arjen Poutsma ed089bc2b8 Made looping over handlerExceptionResolvers more explicit.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@850 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 16:44:19 +00:00
Arjen Poutsma 76bcfb2310 Javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@849 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 16:26:31 +00:00
Arjen Poutsma 0d33ceec1b DispatcherServlet.processHandlerException checks whether the ModelAndView is empty before rendering it.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@847 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 15:41:03 +00:00
Juergen Hoeller 74c67dfaef FreeMarkerView and ResourceBundle/XmlViewResolver can be initialized with ServletContext only (e.g. for testing)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@828 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:52:28 +00:00
Scott Andrews 2d2924e8ce SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@825 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 04:37:26 +00:00
Arjen Poutsma 49e870246d SPR-5409 - Support for PUTting and POSTing non-form data
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@823 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 16:33:27 +00:00
Mark Pollack f39cb005f6 SPR-5385, SPR-5301 - initial pass completed of POMs for maven central repository upload. N.B. Can not build spring with these POMs.
Cleanup remains to meet maven central metadata requirements

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@816 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 08:06:34 +00:00
Arjen Poutsma 98daccc362 SPR-5537: ReSTful URLs with content type extension do not work properly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@812 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 17:36:18 +00:00
Juergen Hoeller c35b5f8ef2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@793 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 11:20:18 +00:00
Chris Beams 7f82764cb2 + Updated all projects to use the re-introduced org.springframework.asm instead of org.objectweb.asm (.java, template.mf, ivy.xml, and .classpath files have been updated)
+ Finished support for @Import, including detection of circular imports


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@775 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-21 19:00:57 +00:00
Arjen Poutsma 897c1b2976 Fixing Petclinic
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@697 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 14:32:51 +00:00
Juergen Hoeller 0680b65d22 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 13:57:58 +00:00
Juergen Hoeller f6c70c07c5 generified FactoryBeans and further Java 5 code style updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 00:34:22 +00:00
Juergen Hoeller 5a895a621c polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@677 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 12:20:41 +00:00
Juergen Hoeller a814fd082c refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@676 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 11:46:00 +00:00
Juergen Hoeller 85b427afed ModelAndView's "cleared" state gets preserved in case of plain model Map access
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-20 11:48:26 +00:00
Juergen Hoeller e3f7a0d5f6 "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@653 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:55:32 +00:00
Juergen Hoeller 18e805eac2 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@652 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:51:03 +00:00
Juergen Hoeller 5fa3d7ae48 optimized OrderComparator usage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:19:57 +00:00
Arjen Poutsma 14847cc662 Uncommented test case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@645 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 13:42:05 +00:00
Juergen Hoeller b9f25bc30b polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:49 +00:00
Juergen Hoeller e19066141f @RequestMapping type-level param constraints taken into account consistently
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-15 21:31:20 +00:00
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