I om fairly new to spring and am now trying to develop a simple webshop demo application in spring3.
In the application i have defined an ArticleBean with the necessary getters and setters ( articleNumber , articleName, articleDescription , articlePrice , articleCategory ).
An OrderlineBean contains the attributes quantity (Integer) and article (ArticleBean)
A Cart has the attribute orderlines of type HashMap<String,OrderlineBean>()
The following part of the jsp results in a correct rendered form. e.g. the article data is correctly shown.
When posting the form, the number of orderlines in attribute subStock is 0 when processed by ModelAndView updateCart in the controller.
Can anyone any help to get me in the right direction?
Cheers,
Peter
update May 22th 2014 22:34
I have simplyfied the jsp form, still the same results though...