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
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]
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
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
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
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)
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
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
8 matches
Mail list logo