This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Basically, I have here an iteration within an iteration. The object retrieved in the outer iteration has a number of objects of the same class type and it has a public method getCurrentRole that is used to figure out which object is relevant during each pass of the inner iteration. I could not find a way to use a bean:define tag to point to the object returned by this method call, and my bean:write tag cannot see the currentRole object initialized in the scriptlet shown above. Though I realize I can just use scriptlets all the way here instead, I want to use struts tags as much as possible in my code for consistency with existing code.
I look forward to seeing your ideas on how to achieve this.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Defining a bean to point to an object returned from a method