Okay. After looking at PropertyUtils I determined that this sort of syntax
is not allowed when accessing an object from an ArrayList of ArrayLists.
You have to wrap the child lists in an object which provides some type of
accessor/mutator. So in my case I have an ArrayList of ListWrapper objects.
Robert,
Damn, I was just replying to your original note when you posted ;-). I'll
include my response below in case the two-step idea appeals to you:
Not sure if you've moved on from this, but I think you're either gonna have to
change the structure of your data or access it in multiple steps.
Thanks for the reply Kris.
My problem wasn't really accessing the data on the page, it was
rather Struts accessing a property in an object buried in an ArrayList
of ArrayLists when the page was being rendered.
I was trying to keep my question as simple and to
the point as possible and therefore
Did you try list[index][index].property?
It is too late for me to test (1:34am - going to bed)
Robert Taylor wrote:
Okay. After looking at PropertyUtils I determined that this sort of syntax
is not allowed when accessing an object from an ArrayList of ArrayLists.
You have to wrap the child lists
Yep. Tried it and it failed as well.
robert
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 9:35 AM
To: Struts Users Mailing List
Subject: Re: Syntax for accessing an object nested in a List of Lists
[SOLVED]
Did you try
5 matches
Mail list logo