Commit Graph

74 Commits

Author SHA1 Message Date
Arjen Poutsma
6cb7f2cfc8 SPR-5766 - @ResponseBody 2009-05-25 10:28:36 +00:00
Juergen Hoeller
47992ea07c Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now 2009-05-13 14:22:03 +00:00
Juergen Hoeller
59101c096f replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency 2009-05-12 23:37:43 +00:00
Arjen Poutsma
bf7a947559 SPR-5732 - When no type conversion strategy is found on a @Controller handler method bind target, a 500 error code should be returned not a 400. 2009-05-11 14:52:14 +00:00
Arjen Poutsma
0a6cac5a84 SPR-4927 - Return 405 instead of 404 when HTTP method is not supported 2009-05-11 13:32:28 +00:00
Arjen Poutsma
752832a8da SPR-5731 - @Controller method order effects @RequestMapping behavior in ways not expected 2009-05-11 10:34:56 +00:00
Arjen Poutsma
4025df1ef8 SPR-5726: Unexpected @RequestMapping semantics when class-level and method-level mappings used together 2009-05-08 10:02:17 +00:00
Juergen Hoeller
266a65982d Servlet/Portlet ApplicationContexts use a specific id based on servlet/portlet name; DefaultListableBeanFactory references are serializable now when initialized with an id; scoped proxies are serializable now, for web scopes as well as for singleton beans; injected request/session references are serializable proxies for the current request now 2009-05-07 22:29:55 +00:00
Juergen Hoeller
47fc8be59f added test for custom controller stereotype 2009-05-05 18:37:43 +00:00
Arjen Poutsma
9fe2b5d211 Moved DefaultHandlerExceptionResolver to fix a tangle. 2009-05-05 13:41:03 +00:00
Arjen Poutsma
0a0938fdd6 SPR-5426 - Allow for custom processing or result objects returned from handler/controller methods 2009-05-05 11:40:36 +00:00
Arjen Poutsma
6fbd198420 SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created 2009-04-22 12:57:30 +00:00
Arjen Poutsma
afa461892f SPR-5690 - Request header filtering in @RequestMapping 2009-04-21 22:03:51 +00:00
Juergen Hoeller
4cf573ba98 updated to FreeMarker 2.3.15 (SPR-4962) 2009-04-19 22:22:56 +00:00
Arjen Poutsma
c225b44f34 SPR-5636 - @RequestMapping matching should be insensitive to trailing slashes 2009-04-17 09:41:04 +00:00
Arjen Poutsma
acc84925d3 SPR-5631 - Implicit /** mapping on type-level @RequestMapping 2009-04-17 09:28:08 +00:00
Arjen Poutsma
6121da988b Working on SPR-5631 - Implicit /** mapping on type-level @RequestMapping 2009-04-16 13:23:24 +00:00
Juergen Hoeller
d27cbee69c fixed JasperReports exporter parameter initialization for multi-format views 2009-04-15 23:18:57 +00:00
Arjen Poutsma
65afc80821 Working on SPR-5631 2009-04-01 21:07:46 +00:00
Arjen Poutsma
cd164a5d9b Polishing 2009-04-01 13:31:51 +00:00
Juergen Hoeller
4ebd08515c polishing 2009-03-31 20:43:28 +00:00
Juergen Hoeller
72cc060eaf request handler methods with @ModelAttribute annotation always return a model attribute (SPR-4867) 2009-03-31 20:34:42 +00:00
Arjen Poutsma
f09f4e8dd2 SPR-4677: Allow annotated methods on a Controller to be marked as exception handlers 2009-03-30 17:20:55 +00:00
Arjen Poutsma
04b3edca33 SPR-5625 - Allow for exceptions to be annotated with a @ResponseStatus annotation 2009-03-28 11:19:45 +00:00
Arjen Poutsma
3ade31bb51 Added tests for returned ModelAndView 2009-03-28 11:07:18 +00:00
Arjen Poutsma
161c926054 SPR-5624 - A default HandlerExceptionResolver that resolves standard Spring exceptions 2009-03-27 19:53:42 +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
c178888efd SPR-5537: ReSTful URLs with content type extension do not work properly 2009-03-24 17:36:18 +00:00
Juergen Hoeller
6d7bf17394 polishing 2009-03-23 11:20:18 +00:00
Juergen Hoeller
a1ea7f1820 polishing 2009-02-25 13:57:58 +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
56bd995d9c "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically 2009-02-18 23:55:32 +00:00
Arjen Poutsma
aff17ca9e5 Uncommented test case 2009-02-16 13:42:05 +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
df563dfcd6 SPR-5452: Content negotiation 2009-02-06 14:38:30 +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
9dec670be4 consistent copies of mocks 2009-01-20 18:08:14 +00:00
Juergen Hoeller
8af66c83ad consistent mock behavior 2009-01-19 23:35:42 +00:00
Arjen Poutsma
7b73830987 Added simple test for SPR-5365 2009-01-14 11:04:28 +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
ea68d343fa eliminated svn:externals in favor of localized copies of shared artifacts 2008-12-18 21:27:18 +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
Chris Beams
93e30a4fc5 moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet 2008-12-17 18:45:41 +00:00