A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
object in iterate tag not fully display
Klament J. Kruoghst
Joined: Oct 24, 2008
Apr 08, 2011 13:45:31
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
I agree. Here's the link:
subject: object in iterate tag not fully display
Submit form text fields (group) with same name!!!
Cannot find bean in any scope...
Array of arrays
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014