Commit Graph
58 Commits
Author SHA1 Message Date
Chris Beams 1c539e8a65 Rename ref docs section new-in-3 => new-in-3.0
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4448 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-04 12:45:58 +00:00
Rossen Stoyanchev ad81cb5fcc SPR-8391 Minor documentation fixes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4434 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-03 09:50:12 +00:00
Rossen Stoyanchev 5d69429178 SPR-6709 Handle RequestBodyNotValidException and update reference docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4423 50f2f4bb-b051-0410-bef5-90022cba6387
2011-06-02 18:27:50 +00:00
Rossen Stoyanchev d2a4316a70 SPR-8218 MVC chapter updates
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4366 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-27 17:09:53 +00:00
Rossen Stoyanchev 6e86bc5bc2 SPR-7353 Doc update for consumes/produces + changelog update
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4327 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-19 13:05:53 +00:00
Rossen Stoyanchev 89b5be3754 SPR-2692 Update mvc chapter with URI template support in redirect: view names
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4310 50f2f4bb-b051-0410-bef5-90022cba6387
2011-05-16 13:24:42 +00:00
Sam Brannen 5cdc285aba Fixed typos
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4060 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-04 23:12:09 +00:00
Rossen Stoyanchev ea6f6d9696 SPR-7406 Improve documentation on handler method parameter type conversion.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4059 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-04 19:59:16 +00:00
Rossen Stoyanchev a9ddca1100 Improve docs for MvcDefaultServletHandler container feature.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4056 50f2f4bb-b051-0410-bef5-90022cba6387
2011-03-01 14:32:34 +00:00
Chris Beams dc22760978 Introduce FeatureSpecification support
Introduce FeatureSpecification interface and implementations

    FeatureSpecification objects decouple the configuration of
    spring container features from the concern of parsing XML
    namespaces, allowing for reuse in code-based configuration
    (see @Feature* annotations below).

    * ComponentScanSpec
    * TxAnnotationDriven
    * MvcAnnotationDriven
    * MvcDefaultServletHandler
    * MvcResources
    * MvcViewControllers

Refactor associated BeanDefinitionParsers to delegate to new impls above

    The following BeanDefinitionParser implementations now deal only
    with the concern of XML parsing.  Validation is handled by their
    corresponding FeatureSpecification object.  Bean definition creation
    and registration is handled by their corresponding
    FeatureSpecificationExecutor type.

    * ComponentScanBeanDefinitionParser
    * AnnotationDrivenBeanDefinitionParser (tx)
    * AnnotationDrivenBeanDefinitionParser (mvc)
    * DefaultServletHandlerBeanDefinitionParser
    * ResourcesBeanDefinitionParser
    * ViewControllerBeanDefinitionParser

Update AopNamespaceUtils to decouple from XML (DOM API)

    Methods necessary for executing TxAnnotationDriven specification
    (and eventually, the AspectJAutoProxy specification) have been
    added that accept boolean arguments for whether to proxy
    target classes and whether to expose the proxy via threadlocal.

    Methods that accepted and introspected DOM Element objects still
    exist but have been deprecated.

Introduce @FeatureConfiguration classes and @Feature methods

    Allow for creation and configuration of FeatureSpecification objects
    at the user level.  A companion for @Configuration classes allowing
    for completely code-driven configuration of the Spring container.

    See changes in ConfigurationClassPostProcessor for implementation
    details.

    See Feature*Tests for usage examples.

    FeatureTestSuite in .integration-tests is a JUnit test suite designed
    to aggregate all BDP and Feature* related tests for a convenient way
    to confirm that Feature-related changes don't break anything.
    Uncomment this test and execute from Eclipse / IDEA. Due to classpath
    issues, this cannot be compiled by Ant/Ivy at the command line.

Introduce @FeatureAnnotation meta-annotation and @ComponentScan impl

    @FeatureAnnotation provides an alternate mechanism for creating
    and executing FeatureSpecification objects.  See @ComponentScan
    and its corresponding ComponentScanAnnotationParser implementation
    for details.  See ComponentScanAnnotationIntegrationTests for usage
    examples

Introduce Default[Formatting]ConversionService implementations

    Allows for convenient instantiation of ConversionService objects
    containing defaults appropriate for most environments.  Replaces
    similar support originally in ConversionServiceFactory (which is now
    deprecated). This change was justified by the need to avoid use
    of FactoryBeans in @Configuration classes (such as
    FormattingConversionServiceFactoryBean). It is strongly preferred
    that users simply instantiate and configure the objects that underlie
    our FactoryBeans. In the case of the ConversionService types, the
    easiest way to do this is to create Default* subtypes. This also
    follows convention with the rest of the framework.

Minor updates to util classes

    All in service of changes above. See diffs for self-explanatory
    details.

    * BeanUtils
    * ObjectUtils
    * ReflectionUtils

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3954 50f2f4bb-b051-0410-bef5-90022cba6387
2011-02-08 14:42:33 +00:00
Rossen Stoyanchev 26c92551dd SPR-7912 Add tests for FormattingConversionServiceFactoryBean, update reference docs, and remove mvc:formatters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3928 50f2f4bb-b051-0410-bef5-90022cba6387
2011-01-27 11:26:19 +00:00
Oliver Gierke 5c7a62ce60 SPR-7641 - Added Principal to listing of supported method parameter types.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3737 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-11 19:59:16 +00:00
Jeremy Grelle 51de2fc682 Minor correction to doc updates made as part of SPR-7545 - "cache-period" attribute was incorrectly documented as "cache-seconds".
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3690 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-17 18:50:01 +00:00
Chris Beams 32c08d1b3f Review recent documentation and default servlet changes
- Relocate and fix typos in interface-based @RequestMapping tip (SPR-7537)
- Fix typos in constructor-arg 'name' disambiguation section (SPR-7443)
- Polish whitespace in DefaultServletHttpRequestHandler (SPR-7553)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3689 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-15 08:45:21 +00:00
Oliver Gierke 9975f5ec19 SPR-7537 - Document proxying for MVC controllers
Extended documentation to include hints on what to 
consider when working with proxied controllers.
Explained the necessity of moving @RequestMapping
annotations to the interface or use proxy-target-
class="true".

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3685 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-14 11:02:46 +00:00
Jeremy Grelle 508217e113 SPR-7545 - Reference documentation now reflects the final state of the ResourceHttpRequestHandler and references the DefaultServletHttpRequestHandler properly.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3681 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-13 23:06:06 +00:00
Chris Beams 9d514b6d59 Fix typos (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3536 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:23 +00:00
Chris Beams e820dda201 Clarify ServletException is thrown when no view is resolved (SPR-7339)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3530 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-07 13:57:07 +00:00
Jeremy Grelle 3d413d4f55 SPR-7116 - Added documentation for <mvc:default-servlet-handler>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3521 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-03 16:14:37 +00:00
Jeremy Grelle 12c4f7ccca SPR-7116 - Added documentation for <mvc:resources>
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3519 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-03 01:23:24 +00:00
Oliver Gierke dda86a0756 Fixed language attribute in code sample to activate currently missing syntax highlighting.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3440 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-22 12:41:55 +00:00
Oliver Gierke 20cb9addbd SPR-7103 - Added more detailed documentation on ordering of model attribute and BindingResult.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3388 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 20:57:55 +00:00
Juergen Hoeller c171add6eb JodaTime 1.3 or higher required (SPR-7222)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3356 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 09:12:39 +00:00
Luke Taylor 34595d7492 SPR-7158: Added missing space in MVC docbook file
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3333 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-14 14:04:56 +00:00
Costin Leau f868c794eb SPR-7163
SPR-7161
+ update Petclinic references
+ minor corrections

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3312 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-05 13:42:46 +00:00
Costin Leau 1a68037781 SPR-7158
+ doc typos

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3311 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-04 19:15:09 +00:00
Arjen Poutsma b77698ec67 Introduced ResponseEntity, for access to the response status code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3210 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:08:51 +00:00
Arjen Poutsma 94d70d892a Documented HttpEntity
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3180 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-29 11:12:45 +00:00
Arjen Poutsma ebea6bbd85 SPR-6728 - Document Spring MVC exception -> HTTP status code mappings
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3179 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-29 10:28:05 +00:00
Keith Donald c73167a4b2 mvc namespace docs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2943 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 20:16:38 +00:00
Keith Donald 12506fa9b7 comments about tutorials
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2942 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 15:38:54 +00:00
Juergen Hoeller 86512f5927 added warning about annotated controller interfaces (SPR-6655)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2923 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 15:52:15 +00:00
Costin Leau 2e974ce47b SPR-6646
+ replaced handleRequest() with setSynchronizeOnSession() which is final

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2862 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-26 10:07:40 +00:00
Juergen Hoeller 79137352f5 fixed typos
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2793 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-08 15:47:20 +00:00
Arjen Poutsma 991f040948 Updated docbook files to use Docbook 4.5 DTDs, so it uses the locally cached versions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2617 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 15:22:55 +00:00
Arjen Poutsma a66de31cbb Updated Multipart documentation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2616 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 12:37:28 +00:00
Juergen Hoeller da7618543b fixed typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2563 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 13:17:08 +00:00
Luke Taylor bcbf50aa4c SPR-5158: Updated description of HandlerInterceptor configuration to spell out which requests the interceptor is applied to
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2433 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 17:32:33 +00:00
Jeremy Grelle 3c80ee57dc SPR-6340 - Add coverage of JSON support to reference guide
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2427 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 02:04:22 +00:00
Keith Donald a7d77d95cf fixed incorrect example and JSF reference
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2419 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 22:43:22 +00:00
Luke Taylor a78bff327b SPR-6169: Clarified that DispatcherServlet configuraion options are init-param values for the servlet declaration, not context params
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2315 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 19:03:17 +00:00
Luke Taylor 8e76ae5982 SPR-5430,SPR-6224: Converted deprecated view property names to use '.(class)' syntax.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2314 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 18:44:56 +00:00
Sam Brannen 6b5f6bd6b5 Polishing the MVC sections of the reference manual.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2166 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 21:56:22 +00:00
Sam Brannen 1e7a0401d0 Polishing the MVC sections of the reference manual.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 22:32:15 +00:00
Sam Brannen 2130540ffb Polishing the reference manual.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2158 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 18:26:02 +00:00
Mark Pollack 0d76689168 Apply Beverly's edits to mvc chapter.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1712 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-07 03:41:34 +00:00
Mark Pollack 0ac5d48ca7 Apply Beverly's edits to mvc chapter.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1711 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-07 03:23:47 +00:00
Sam Brannen 397cef50ca [SPR-5893] polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1640 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-27 15:57:16 +00:00
Sam Brannen 4cad4b4d04 fixed minor typo
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1623 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-25 23:03:24 +00:00
Arjen Poutsma dbca532155 Moved REST Etag filter to MVC chapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1390 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-16 14:37:57 +00:00