@Controller
@SessionAttributes(value={"team","tokencheck"})
public class AddTeamController
extends Object
Controller that handles the add team page of a logged in
user.| Constructor and Description |
|---|
AddTeamController() |
| Modifier and Type | Method and Description |
|---|---|
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) |
@InitBinder
protected void initBinder(org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
Exception@RequestMapping(value="/addteam.shtml") public String start(org.springframework.ui.ModelMap modelMap, javax.servlet.http.HttpServletRequest request)
@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
IOExceptionCopyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.