[OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread Dave Newton
David Johnson wrote: I have an object in memory that I would like to iterate through on my JSP page as follows: The object is in the Session , and it is a PortfolioBeanCollection which extends ArrayList. It contains a bunch of PortfolioBean objects, which has a portfolioName attribute. My question

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread Dave Newton
Dave Newton wrote: c:forEach items=${PortfolioBeanCollection} var=pb Oops, missed the } in there. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread Dave Newton
David Johnson wrote: that makes sense, but the individual portfolios (the members of the PortfolioBeanCollection) dont really have a name, I just looped through my result set doing PortfolioBeanCollection PBC=new PortfolioBeanCollection (); while (result.hasnext){ pbc.add (new

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread David Johnson
Hey That totally makes sense, and I definitely see hot to iterate through a collection of Strings or other straightforward things, but what I'm confused about is that my PortfolioBeanCollection (extends ArrayList) contains objects of type PortfolioBean which in turn contain the attribute I'm

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread David Johnson
Bingo, that was it. The link you sent dealt with exatly what I was talking about. Thank you sir. :) On 4/13/05, David Johnson [EMAIL PROTECTED] wrote: Hey That totally makes sense, and I definitely see hot to iterate through a collection of Strings or other straightforward things, but what

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread gdeschen
David, can you post the code that defines the PortfolioBean. David Johnson [EMAIL PROTECTED] 13/04/2005 04:21 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List user@struts.apache.org cc: (bcc: Glenn Deschenes/NAT/CMHC-SCHL/CA)

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread Dave Newton
David Johnson wrote: That totally makes sense, and I definitely see hot to iterate through a collection of Strings or other straightforward things, but what I'm confused about is that my PortfolioBeanCollection (extends ArrayList) contains objects of type PortfolioBean which in turn contain the

Re: [OT: JSTL] Re: c:forEach for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread David Johnson
makes total sense. thanks a lot :) On 4/13/05, Dave Newton [EMAIL PROTECTED] wrote: David Johnson wrote: That totally makes sense, and I definitely see hot to iterate through a collection of Strings or other straightforward things, but what I'm confused about is that my