atom feed8 messages in net.java.dev.appfuse.issues[appfuse-issues] [JIRA] Commented: (A...
FromSent OnAttachments
Alex Coles (JIRA)Dec 17, 2007 1:38 pm 
Matt Raible (JIRA)Dec 17, 2007 1:42 pm 
Marcello Teodori (JIRA)Jul 31, 2008 2:11 am 
Donny A. Wijaya (JIRA)Oct 10, 2008 6:49 am 
Donny A. Wijaya (JIRA)Oct 10, 2008 6:51 am 
Donny A. Wijaya (JIRA)Oct 10, 2008 6:56 am 
Marc Schipperheyn (JIRA)Jan 5, 2009 5:04 am 
Matt Raible (JIRA)May 9, 2010 8:49 pm 
Subject:[appfuse-issues] [JIRA] Commented: (APF-984) Upgrade Spring MVC Controllers to use annotations
From:Marcello Teodori (JIRA) (iss@appfuse.dev.java.net)
Date:Jul 31, 2008 2:11:34 am
List:net.java.dev.appfuse.issues

[
http://issues.appfuse.org/browse/APF-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12518
]

Marcello Teodori commented on APF-984:

Wouldn't it make sense to use a mixed approach to get the benefit of annotations
while keeping URL mappings in a single location, like the one proposed here: http://blog.springsource.com/main/2008/03/23/using-a-hybrid-annotations-xml-approach-for-request-mapping-in-spring-mvc/ ?

Upgrade Spring MVC Controllers to use annotations

-------------------------------------------------

Key: APF-984 URL: http://issues.appfuse.org/browse/APF-984 Project: AppFuse Issue Type: Improvement Components: Web - Spring Reporter: Alex Coles Assignee: Matt Raible Priority: Minor

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.