Meaningless Drivel is fun!*
The moose likes Spring and the fly likes Spring model attribute is not populating values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring model attribute is not populating values" Watch "Spring model attribute is not populating values" New topic
Author

Spring model attribute is not populating values

sachin yadav
Ranch Hand

Joined: Nov 24, 2005
Posts: 156
I have a model class with some methods, most of them are populated using ajax(jquery), I have a model attribute on JSP as orderVo, initially when page loads some values remains blank and when i call different methods they keep on filling using ajax. Now issue is, when 1 method is called after form setup(1st GET) my model attribute is not populating with values.

JSP -


VO -


Can someone please tell me why i am not been able to populate updated orderVo values? Is it because of AJAX? I have even used SessionAttribute but of no use.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring model attribute is not populating values
 
Similar Threads
New value is inserted into db in @ManyToOne relation instead of update
How to get Hebrew text from JSP page correctly?
Help needed with Spring binding and <form:select>
Unable to call Controller method after form submission using Spring MVC 3
reCaptcha issue with Spring MVC