• Post Reply Bookmark Topic Watch Topic
  • New Topic

nested indexed property  RSS feed

 
davide davide
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!