This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I have a property on a form bean that stores an object that contains an array list. The array list contains a wrapper object that contains 4 other objects - each of a different type. I try to access the respective properties of each of the four objects contained in the wrapper object in the following way: <nested:nest property="propertyList"> <nested:iterate id="objects" property="cachedProperties" indexId="cachedPropertiesIndex"> <TABLE> <TBODY> <TR> <TD><TABLE border="0" width="100%" bgcolor="#ff0000"> <TBODY> <TR> <TD nowrap width="10%" bgcolor="#ffffff"><FONT size="1" color="#000000" face="Verdana"><B> ZAR: <nested:write property="property.formattedPrice"/></B></FONT></TD> To be precise: The propertyList property contains the array list and this array list is called cachedProperties. The array list contains PropCargo objects. Each propCargo object contains a: 1. Property object 2. Features object 3. Images object 4. Client object I want to access properties of these objects in the same nested:iterate clause by going something like: property="property.formattedPrice" for example. Am I doing this correctly or have I missed something? The HTML table doesn't render. Help will be greatly appreciated. Zain