how do I count array in logic:iterate

2004-11-03 Thread Peng, Meimin
Hi,

I've an array list called fruits.
And, I want to count the number of fruit. 
How can I do it to write out the number?

 logic:iterate id=fruit name=fruits indexId=index
   %=index%
 
  /logic:iterate

Thanks.
--MM

CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and
confidential.  Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how do I count array in logic:iterate

2004-11-03 Thread Bill Siggelkow
bean:size id=numFruits name=fruits/
Number of fruits: bean:write name=numFruits/
-Bill Siggelkow
Peng, Meimin wrote:
Hi,
I've an array list called fruits.
And, I want to count the number of fruit. 
How can I do it to write out the number?

 logic:iterate id=fruit name=fruits indexId=index
   %=index%
 
  /logic:iterate

Thanks.
--MM
CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and
confidential.  Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: how do I count array in logic:iterate

2004-11-03 Thread Peng, Meimin
I miss this tag. Thanks.
--MM

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow
Sent: Wednesday, November 03, 2004 3:45 PM
To: [EMAIL PROTECTED]
Subject: Re: how do I count array in logic:iterate

bean:size id=numFruits name=fruits/
Number of fruits: bean:write name=numFruits/

-Bill Siggelkow

Peng, Meimin wrote:
 Hi,
 
 I've an array list called fruits.
 And, I want to count the number of fruit. 
 How can I do it to write out the number?
 
  logic:iterate id=fruit name=fruits indexId=index
%=index%
  
   /logic:iterate
 
 Thanks.
 --MM
 
 CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and
 confidential.  Any use, copying or dissemination of any portion of this
 e-mail by or to anyone other than the intended recipient(s) is
unauthorized.
 If you have received this e-mail in error, please reply to sender and
delete
 it from your system immediately.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE:  The information in this e-mail is privileged and
confidential.  Any use, copying or dissemination of any portion of this
e-mail by or to anyone other than the intended recipient(s) is unauthorized.
If you have received this e-mail in error, please reply to sender and delete
it from your system immediately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]