Let us know what you are doing? What you are type of field being populated?
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Joined: Jan 09, 2006
I have the following classes, MyModel is set into MyAction through the use of Spring:
When I pass as a parameter the following, the newValues Map in MyModel is null:
If I pass the parameter as the following, the newValues Map in MyModel has the key/value pair of 12345=ABCDE:
The only difference is that in the non-working parameter I have a dash in the key and the working parameter I do not have the dash in the key.
The dash is important to have as it is part of the unique Id for this process.
I have found another way of doing this by creating a list of custom model classes that has a key and value field, but I am still wondering why a Map will not work for this case.