Commit Graph

53 Commits

Author SHA1 Message Date
Arjen Poutsma
f9541d1e28 DispatcherServlet.processHandlerException checks whether the ModelAndView is empty before rendering it. 2009-03-27 15:41:03 +00:00
Juergen Hoeller
88e336cf56 FreeMarkerView and ResourceBundle/XmlViewResolver can be initialized with ServletContext only (e.g. for testing) 2009-03-26 13:52:28 +00:00
Scott Andrews
99fa91d56e SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding 2009-03-26 04:37:26 +00:00
Arjen Poutsma
035eea01e8 SPR-5409 - Support for PUTting and POSTing non-form data 2009-03-25 16:33:27 +00:00
Arjen Poutsma
c1ea5a3ab8 Fixing Petclinic 2009-02-25 14:32:51 +00:00
Juergen Hoeller
160249c012 generified FactoryBeans and further Java 5 code style updates 2009-02-25 00:34:22 +00:00
Juergen Hoeller
c46b0ae271 polishing 2009-02-24 12:20:41 +00:00
Juergen Hoeller
760cab8fea refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client" 2009-02-24 11:46:00 +00:00
Juergen Hoeller
84ea67669a ModelAndView's "cleared" state gets preserved in case of plain model Map access 2009-02-20 11:48:26 +00:00
Juergen Hoeller
56bd995d9c "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically 2009-02-18 23:55:32 +00:00
Juergen Hoeller
d3d0111439 polishing 2009-02-18 23:51:03 +00:00
Juergen Hoeller
43caa57296 optimized OrderComparator usage 2009-02-17 18:19:57 +00:00
Juergen Hoeller
5a09a2d642 polishing 2009-02-16 01:43:49 +00:00
Juergen Hoeller
90b5c3a8dd @RequestMapping type-level param constraints taken into account consistently 2009-02-15 21:31:20 +00:00
Juergen Hoeller
6b2d4a81a0 optional boolean parameters in MVC handler methods resolve to "false" if not present 2009-02-13 11:46:55 +00:00
Arjen Poutsma
21a442b253 Solved concurrency issue 2009-02-09 22:10:47 +00:00
Juergen Hoeller
60392d6e74 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 2009-02-09 18:26:30 +00:00
Arjen Poutsma
df563dfcd6 SPR-5452: Content negotiation 2009-02-06 14:38:30 +00:00
Arjen Poutsma
ce83ebf0de Added link to Atom spec in javadoc 2009-02-06 08:18:37 +00:00
Scott Andrews
9335233618 javadoc polish 2009-01-23 15:18:25 +00:00
Scott Andrews
61b5428211 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.
2009-01-23 00:03:33 +00:00
Scott Andrews
8e261e5833 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().
2009-01-22 20:36:36 +00:00
Arjen Poutsma
c7d1d3ccb8 SPR-5367: PathVariable mappings are greedy over hard coded mappings 2009-01-21 17:45:42 +00:00
Juergen Hoeller
49ba677b64 introduced @CookieValue annotation 2009-01-20 18:32:24 +00:00
Juergen Hoeller
d950b56999 revised common handler method processing for Portlet 2.0 update 2009-01-19 23:34:41 +00:00
Juergen Hoeller
46f99640ee javadoc updates for 3.0 2009-01-14 09:29:30 +00:00
Juergen Hoeller
ce2c59ec84 Java 5 code style 2009-01-14 09:27:51 +00:00
Arjen Poutsma
e863f9a371 SPR-5380: MarshallingView should override AbstractView instead of AbstractUrlBasedView 2009-01-13 10:41:26 +00:00
Arjen Poutsma
fc06f9ba72 OXM is nearing completion 2009-01-09 12:48:19 +00:00
Chris Beams
579280d7bf Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles 2008-12-18 14:50:25 +00:00
Juergen Hoeller
0ed916495c added @RequestHeader support 2008-12-05 07:17:31 +00:00
Juergen Hoeller
4f40a6c313 fixed javadoc errors 2008-11-28 13:56:30 +00:00
Juergen Hoeller
f8c690c542 Java 5 code style 2008-11-28 11:39:36 +00:00
Juergen Hoeller
85661c6882 Java 5 code style 2008-11-27 17:35:44 +00:00
Juergen Hoeller
b0790bf5e7 Java 5 code style 2008-11-27 00:27:52 +00:00
Juergen Hoeller
29657105da Java 5 code style 2008-11-25 01:29:54 +00:00
Juergen Hoeller
347f34c68a EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style 2008-11-20 02:10:53 +00:00
Arjen Poutsma
efb0ab79f9 SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level) 2008-11-19 17:12:44 +00:00
Arjen Poutsma
27ed13f44d SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level) 2008-11-19 17:08:34 +00:00
Arjen Poutsma
2b2805058b Javadoc 2008-11-19 15:44:21 +00:00
Arjen Poutsma
b33db73c93 SPR-5251: URI Templates for @InitBinder 2008-11-18 12:37:12 +00:00
Arjen Poutsma
fe72e8a5f7 SPR-5251: URI Templates in @RequestMapping 2008-11-17 16:00:03 +00:00
Scott Andrews
a1faaad9fa 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.
2008-11-17 15:10:26 +00:00
Scott Andrews
7d1f2bd1da 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.
2008-11-16 22:03:16 +00:00
Scott Andrews
912c1234cd 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.
2008-11-16 21:04:46 +00:00
Arjen Poutsma
ba42594112 SPR-4927: Return 405 instead of 404 when HTTP method is not supported 2008-11-08 09:37:55 +00:00
Arjen Poutsma
477543241f SPR-5066 2008-11-07 10:22:43 +00:00
Arjen Poutsma
0012c1e2da SPR-5237: Default value for @RequestParam 2008-11-04 14:39:53 +00:00
Arjen Poutsma
6c48de5ad5 Moved tests from testsuite to web.servlet 2008-11-03 10:49:21 +00:00
Arjen Poutsma
baac76e2b1 SPR-5249: Atom and RSS View 2008-10-31 17:48:50 +00:00