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.
The moose likes Struts and the fly likes nested indexed property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "nested indexed property" Watch "nested indexed property" New topic
Author

nested indexed property

davide davide
Greenhorn

Joined: Jun 07, 2007
Posts: 1
Hi,

I have in a jsp this nested...

<nested:nest property="myList[0]">
<nested:nest property="param[0]">
<nested:text property="name">
</nested:nest>
</nested:nest>

The problem is what struts invoke method getList(int index) and not getParam(int index).
Is important because the list have to grow dinamically.

html generated:

<input type="text" name="mylist[0].param[0].name">
 
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: nested indexed property
 
It's not a secret anymore!