nl.gridshore.samples.raffle.web.springmvc
Class EditRaffleController

java.lang.Object
  extended by nl.gridshore.samples.raffle.web.springmvc.EditRaffleController

@Controller
@RequestMapping(value="/editraffle.view")
@SessionAttributes(value="raffle")
public class EditRaffleController
extends java.lang.Object

Created by IntelliJ IDEA. User: jettro Date: Dec 22, 2007 Time: 8:39:28 PM Controller class for handling the editing of a raffle


Constructor Summary
EditRaffleController(nl.gridshore.samples.raffle.business.RaffleService raffleService, RaffleValidator raffleValidator)
           
 
Method Summary
 java.lang.String processSubmit(nl.gridshore.samples.raffle.domain.Raffle raffle, org.springframework.validation.BindingResult bindingResult, org.springframework.web.bind.support.SessionStatus status)
           
 java.lang.String setupForm(long raffleId, org.springframework.ui.ModelMap model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditRaffleController

public EditRaffleController(nl.gridshore.samples.raffle.business.RaffleService raffleService,
                            RaffleValidator raffleValidator)
Method Detail

setupForm

@RequestMapping(method=GET)
public java.lang.String setupForm(@RequestParam(value="raffleId")
                                                 long raffleId,
                                                 org.springframework.ui.ModelMap model)

processSubmit

@RequestMapping(method=POST)
public java.lang.String processSubmit(@ModelAttribute(value="raffle")
                                                     nl.gridshore.samples.raffle.domain.Raffle raffle,
                                                     org.springframework.validation.BindingResult bindingResult,
                                                     org.springframework.web.bind.support.SessionStatus status)


Copyright © 2007-2008. All Rights Reserved.