posted 9 years ago
Hi,
I have a command object, and a details object inside it. I am able to bind form fields to the details object, but I want to bind to a field on the command object itself. However, when I load the page, I get the error that
myCommandObject.fieldToBindTo
is not a member of the details object, which is true, so it is like its scope is assuming we're looking at the commandObject.detailsObject, so anything I ask for must be a part of the details object. As if I was inside a <spring:nestedPath path="myDetailsObject">. I can however access my command object with "${myCommandObject.fieldIWant}"
Anyone know how I can reset it so I can bind my fields to the command object?
Thanks