Adherence to bean spec?
Brought to you by:
kaiulrich
Hit what appears to be a showstopper.
For reasons that predate me, all the properties on my command object are like EName and ESubject. Therefore the getters/setters are getEName(), setEName(), etc.
Spring-json converts them into "eName", "eSubject" in the output JSON. Therefore in order to bind to the client form, I need to use "eName" and "eSubject" as the form field names.
So far so good.
However when I submit the form, Spring does not bind to the command object because it's expecting "EName" and "ESubject", not "eName" and "eSubject". I assume that Spring is consistent with the bean spec. Also when using the JSP EL, it only recognises the upper case names.