new but related question... i've gone back to the simplest example, a list that contains several objects. if i try to get this to display using the column tags (<displaytag:column property="desc" />) i get an exception that the desc is not found. desc is a String with a getter (getDesc) and a setter (setDesc(String)) in my object. i don't think i've done anything different than the examples so i'm not sure why this doesn't work.
i decided to take the column tags out and just use the <displaytag:table name="tmpList" /> tag to display everything in my list. when i do this i get a table that is headed "Bytes" with binary garbage as the values... what do i do to get my attributes rendered? thanks again, andy On Wed, 7 Jul 2004 15:01:33 -0500, Andrew Close <[EMAIL PROTECTED]> wrote: > Dennis, > > thanks again for the response. i think you answered both of my > questions. i'm just trying to get the appropriate dot notation to > work. :) > > thanks > andy > > > > > ----- Original Message ----- > From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Date: Wed, 7 Jul 2004 15:18:22 -0400 > Subject: Re: [displaytag-user] using an object that contains a list of objects > To: [EMAIL PROTECTED] > > Your original question was "...so > how do i get displaytag to extract my list of lists from my customer object?" > and I thought you were asking > how to pass in a list attribute to displayTag and I thought that the simple > answer would be using the proper dot notation e.g. > > <display:table name="sessionScope.customer.group.items" > /> > > But I guess I misunderstood. Assuming > you have a finite number of lists, why don't you just have a little scriptlet > that extracts each leaf-node collection into a temporary page or request > scope bean (tempList) and then pass these temp lists to displayTag? > > However, assuming that this still doesn't > solve your problem, you may have to wrap displayTag in some scriptlet code > to iterate over your customers/groups, create requestScope beans and pass > the beans to displayTag. > > HTH, > > Dennis ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

