Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

nested indexed property

 
davide davide
Greenhorn
Posts: 1
  • 0
  • 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">
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic