net.sourceforge.mystique.application
Class AddConfirmationForm
java.lang.Object
net.sourceforge.mystique.application.AddConfirmationForm
@Controller
@RequestMapping(value="/project/confirmation/add.xhtml")
@SessionAttributes(value="confirmation")
public class AddConfirmationForm
- extends java.lang.Object
- Author:
- Elias Gomes [eliasgomes@users.sourceforge.net]
|
Method Summary |
java.lang.String |
processSubmit(Confirmation confirmation,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
|
void |
setAllowedFields(org.springframework.web.bind.WebDataBinder binder)
|
java.lang.String |
setupForm(java.lang.Long ticketId,
org.springframework.ui.Model model,
org.springframework.web.context.request.WebRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddConfirmationForm
public AddConfirmationForm()
setAllowedFields
@InitBinder
public void setAllowedFields(org.springframework.web.bind.WebDataBinder binder)
setupForm
@RequestMapping(method=GET)
public java.lang.String setupForm(@RequestParam(value="ticketId")
java.lang.Long ticketId,
org.springframework.ui.Model model,
org.springframework.web.context.request.WebRequest request)
throws RepositoryException
- Throws:
RepositoryException
processSubmit
@RequestMapping(method=POST)
public java.lang.String processSubmit(@ModelAttribute(value="confirmation")
Confirmation confirmation,
org.springframework.validation.BindingResult result,
org.springframework.web.bind.support.SessionStatus status)
throws RepositoryException
- Throws:
RepositoryException
Copyright © 2010. All Rights Reserved.