Re: How to get length of an array(collection)

2004-05-25 Thread Ding Lei
Joe, Henrique Robert: Thank you for replies, they all works :) yours, lei On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote: At 1:44 PM +0800 5/22/04, Ding Lei wrote: Hello all, There is an array(dsmccList) obtained by a self-defined tag, and I wanna to send the

Re: How to get length of an array(collection)

2004-05-25 Thread Ding Lei
Joe, Henrique Robert: Thank you for replies, they all works :) yours, lei On Mon, May 24, 2004 at 03:38:54PM -0500, Joe Germuska wrote: At 1:44 PM +0800 5/22/04, Ding Lei wrote: Hello all, There is an array(dsmccList) obtained by a self-defined tag, and I wanna to send the

RE: How to get length of an array(collection)

2004-05-24 Thread Robert Taylor
c:set var=dataCount value=${fn:length(dsmccList)}/ robert -Original Message- From: Ding Lei [mailto:[EMAIL PROTECTED] Sent: Saturday, May 22, 2004 1:45 AM To: [EMAIL PROTECTED] Subject: How to get length of an array(collection) Hello all, There is an array(dsmccList)

Re: How to get length of an array(collection)

2004-05-24 Thread Henrique VIECILI
Hi Ding! You can try this: bean:size id=collectionLength name=dsmccList / You may look into struts-bean API documentation to understand how this tag works. []´s Henrique Andrade Viecili - Original Message - From: Ding Lei To: [EMAIL PROTECTED] Sent: Saturday, May 22, 2004

Re: How to get length of an array(collection)

2004-05-24 Thread Joe Germuska
At 1:44 PM +0800 5/22/04, Ding Lei wrote: Hello all, There is an array(dsmccList) obtained by a self-defined tag, and I wanna to send the length of the array as an hidden property, as following: iPanel:appListData id='dsmccList'/ c:set var=dataCount value=${dsmccList.length}/ But this