History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-985
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Matt Raible
Reporter: Alex Coles
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
AppFuse

Upgrade Spring MVC Controllers to use annotations

Created: 17/Dec/07 03:40 PM   Updated: 03/Nov/08 08:34 PM
Component/s: Web - Spring
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
Upgrade Spring MVC Controller classes to use annotations:
http://blog.interface21.com/main/2007/11/14/annotated-web-mvc-controllers-in-spring-25/

Form Controllers which extend BaseFormController (and in turn, Spring's SimpleFormController) can make use of the @RequestMapping annotation to define their request mappings:
 org.appfuse.web.controller.FileUploadController
 org.appfuse.web.controller.SignUpController
 org.appfuse.web.controller.UserFormController

Other controllers should be rewritten to be annotation-based controllers, with the @Controller annotation:
 org.appfuse.webapp.controller.PasswordHintController
 org.appfuse.webapp.controller.UserController

Tutorials should also be updated.

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 03/Nov/08 08:34 PM
Duplicate of APF-984.