This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using Struts 2.2.1; and, I have the following concern: I have an object A which has reference to three other objects: B, C, D. In my JSP I make reference to properties in all A, B, C and D. I call an action which implements the ModelDriven Interface.
However, the only properties that gets populated are the simple properties of A. I was under the impression that ModelDriven would populate the entire object graph for you, namely, all the properties of A, B, C and D. I have tested various notation in my JSP including:
No luck. I believe that it is possible to populate an object graph based on ModelDriven. Am I correct in thinking this? Could you please offer some advice if I am correct in thinking this?