net.sourceforge.mystique.application
Class AddMilestoneForm

java.lang.Object
  extended by net.sourceforge.mystique.application.AddMilestoneForm

@Controller
@RequestMapping(value="/project/milestone/add.xhtml")
@SessionAttributes(value="milestone")
public class AddMilestoneForm
extends java.lang.Object

Author:
Elias Gomes [eliasgomes@users.sourceforge.net]

Constructor Summary
AddMilestoneForm()
           
 
Method Summary
 java.lang.String processSubmit(Milestone milestone, 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 projectId, org.springframework.ui.Model model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddMilestoneForm

public AddMilestoneForm()
Method Detail

setAllowedFields

@InitBinder
public void setAllowedFields(org.springframework.web.bind.WebDataBinder binder)

setupForm

@RequestMapping(method=GET)
public java.lang.String setupForm(@RequestParam(value="projectId")
                                                 java.lang.Long projectId,
                                                 org.springframework.ui.Model model)
                           throws RepositoryException
Throws:
RepositoryException

processSubmit

@RequestMapping(method=POST)
public java.lang.String processSubmit(@ModelAttribute(value="milestone")
                                                     Milestone milestone,
                                                     org.springframework.validation.BindingResult result,
                                                     org.springframework.web.bind.support.SessionStatus status)
                               throws RepositoryException
Throws:
RepositoryException


Copyright © 2010. All Rights Reserved.