Register / Login
Win a copy of
Mesos in Action
this week in the
object in iterate tag not fully display
Klament J. Kruoghst
posted 5 years ago
So I have an object called ObjNum1 that has an arraylist of objects ObjNum2.
I'm trying to iterate ObjNum2 to get its properties so here's a sample of the code:
.... <logic:iterate id="ObjNum2" name="ObjNum1" property="myList" indexId="index2"> <html:text name="ObjNum2" property="myProperty" indexed="true"/> </logic:iterate> ...
It does iterate and gets me the values, the problem is i have to retrieve the value back so I need the full path, that's to say that I need this generated in the html:
<input:text name="ObjNum1.ObjNum2.myProperty" />
but I'm getting this:
<input:text name="ObjNum2.myProperty" />
How do I change my code then to not forget my ObjNum1?
Thanks in advance
Submit form text fields (group) with same name!!!
Cannot find bean in any scope...
Array of arrays