File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

nested indexed property

davide davide

Joined: Jun 07, 2007
Posts: 1

I have in a jsp this nested...

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

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:
subject: nested indexed property
It's not a secret anymore!