Results 1 to 5 of 5

Thread: @SessionAttributes AND multiple windows

  1. #1

    Default @SessionAttributes AND multiple windows

    Hi all,

    (i use annotated spring MVC).

    I have in the same browser 2 tabs with the same form (but with different models).

    How can I specify that the binding must be done with the good model?


    Code:
    @Controller
    @SessionAttributes("mymodel")
    @RequestMapping("/mymodel.do")
    public MyController{
    
    	@RequestMapping(method = RequestMethod.POST)
    	public ModelAndView processSubmitRfq(@ModelAttribute("mymodel") MyModel myModel, Errors errors)  {
       .... 
    
    }
    
    
    }
    for example replace @SessionAttributes("mymodel") by @SessionAttributes("mymodel"+mymodel.id)
    AND @ModelAttribute("mymodel"+mymodel.id)


    I am clear?

  2. #2

  3. #3

  4. #4

    Default

    So when Spring 3 will be release?
    this is an important issue for me.

  5. #5

    Default

    hi all,

    I am currently using Spring Web Flow and it s resolved all my problems.


    cheers,
    Julien.-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •