File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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">
 
GeeCON Prague 2014
 
subject: nested indexed property