Thanks for you help! - That gets me 1/2 of the way there. Now - I'm inside a <l0gic:iter> - I have the id but I cant get the array list - so i can do the arraylist.get(id)
I entered in the jsp:
Now I just need the String name = arrayList.get(courtActivityTypeID);
I can get the id just fine - but I don't know how to "grasp" the arraylist inside this iter loop. ???
The arraylist is in the CourtActivityClientChargeForm - I just cant grab it.
Thanks - any help is appreciated.
BTW: I had a lot of luck with using the struts tags in a html:select.
This works like a charm - but I need to output the value in a table - not a select box.
[ January 07, 2005: Message edited by: chris gar ] [ January 07, 2005: Message edited by: chris gar ]
Joined: Nov 17, 2004
result is the object of CourtActivityClientChargeForm. I am not sure why you are type casting it to CourtActivity?
If arrayList and id are fields of the CourtActivityClientChargeForm then you can do something like this.
From the html:select code, it seems like you have courtActivityType in your request scope then why don't you get the collection from the request object?. Just an alternate if you don't hold this arraylist in your form.