SHARE
TWEET

Untitled

a guest Jan 18th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @RequestMapping(value = "/wynikiForm.html", method = RequestMethod.GET)
  2.     public String showFormWyniki(Model model, @RequestParam(name = "id", defaultValue = "-1") Optional<Wybory> wyboryy) {
  3.         Wyniki wyniki = new Wyniki();
  4.     model.addAttribute("list", kandydatService.getAllCount());
  5.      
  6.         wyniki.setWybory(wyboryy.get());
  7.         model.addAttribute("wyniki", wyniki);
  8.  
  9.         return "wynikiForm";
  10.     }
  11.  
  12.     @GetMapping(path = "/wynikiForm.html")
  13.     public String home(Model model) {
  14.         return "home";
  15.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top