1. 12 6月, 2014 6 次提交
  2. 11 6月, 2014 7 次提交
  3. 10 6月, 2014 8 次提交
  4. 09 6月, 2014 2 次提交
    • R
      Polish MappingJackson2JsonView · 0cb6f8c8
      Rossen Stoyanchev 提交于
      0cb6f8c8
    • S
      Add JSONP support to MappingJackson2JsonView · 5dc27ee1
      Sebastien Deleuze 提交于
      Enable JSONP support by wrapping the JSON output into
      a callback when a JSONP query parameter specifying the
      function name to use as callback is detected.
      
      Default query parameter names recognized as JSONP ones
      are "jsonp" and "callback". This list can be customized if
      needed.
      
      This commit also fixes JSONView support by removing
      the view name specified in the model from the output.
      
      Issue: SPR-8346
      5dc27ee1
  5. 08 6月, 2014 2 次提交
    • R
      Add dependency ordering for @ModelAttribute methods · 56a82c1c
      Rossen Stoyanchev 提交于
      Before this change @ModelAttribute methods were not invoked in any
      particular order other than ensuring global @ControllerAdvice methods
      are called first and local @Controller methods second.
      
      This change introduces a simple algorithm that selects the next
      @ModelAttribute method to invoke by making a pass over all methods and
      looking for one that has no dependencies (i.e. @ModelAttribute
      input arguments) or has all dependencies resolved (i.e. available in
      the model). The process is repeated until no more @ModelAttribute
      methods remain.
      
      If the next @ModelAttribute method cannot be determined because all
      remaining methods have unresolved dependencies, the first available
      method is picked anyway just as before, i.e. with required
      dependencies created through the default constructor.
      
      Examples in ModelFactoryOrderingTests.
      
      Issue: SPR-6299
      56a82c1c
    • R
      Polish ModelFactory · e374769e
      Rossen Stoyanchev 提交于
      e374769e
  6. 07 6月, 2014 6 次提交
  7. 06 6月, 2014 9 次提交