--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> Never occurred to me that it was a 1 based index.
It's not, although the difference is semantic.
"index" is the index. "count" is the number of
iteration you're currently on; you'll never be in the
zeroth iteration because the iteration starts
immedi
to all who responded!
-Original Message-
From: Chris Pratt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 4:37 PM
To: Struts Users Mailing List
Subject: Re: [S2] Iterator Tag and Status Count
I think count is a one based position in the iteration where as index is
zero based
--- Chris Pratt wrote:
> It's too bad there is no JavaDoc information on the
> methods, since that could easily clear up the
> confusion.
Please file a JIRA for issues, including documentation
(or lack thereof).
d.
-
To unsub
I think count is a one based position in the iteration where as index
is zero based. But there is almost no information in the
documentation. The tag library documentation simply says that a
InteratorStatus is pushed on the Value Stack. And the JavaDocs for
IteratorStatus has one line of "useful
es
> -Original Message-
> From: Hoying, Ken [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 26, 2007 4:02 PM
> To: user@struts.apache.org
> Subject: [S2] Iterator Tag and Status Count
>
> I believe that I have come across a bug in the iterator tag.
> It a
I believe that I have come across a bug in the iterator tag. It appears
that the count value for the status object is returning (index + 1)
rather than the size of the collection being iterated over.
Has anyone else seen this behavior?
Is this the correct behavior and I am just not interepreting
6 matches
Mail list logo