nl.surfnet.coin.teams.control
Class AddTeamController
java.lang.Object
nl.surfnet.coin.teams.control.AddTeamController
@Controller
@SessionAttributes(value={"team","tokencheck"})
public class AddTeamController- extends Object
Controller that handles the add team page of a logged in
user.
|
Method Summary |
String |
addTeam(org.springframework.ui.ModelMap modelMap,
Team team,
javax.servlet.http.HttpServletRequest request,
String sessionToken,
String token,
org.springframework.web.bind.support.SessionStatus status)
|
protected void |
initBinder(org.springframework.web.bind.ServletRequestDataBinder binder)
|
String |
start(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddTeamController
public AddTeamController()
initBinder
@InitBinder
protected void initBinder(org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
- Throws:
Exception
start
@RequestMapping(value="/addteam.shtml")
public String start(org.springframework.ui.ModelMap modelMap,
javax.servlet.http.HttpServletRequest request)
addTeam
@RequestMapping(value="/doaddteam.shtml",
method=POST)
public String addTeam(org.springframework.ui.ModelMap modelMap,
@ModelAttribute(value="team")
Team team,
javax.servlet.http.HttpServletRequest request,
@ModelAttribute(value="tokencheck")
String sessionToken,
@RequestParam
String token,
org.springframework.web.bind.support.SessionStatus status)
throws IOException
- Throws:
IOException
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.