26 Mar
2002
26 Mar
'02
5:29 p.m.
Hi, I'm trying trying to loop over a group of news folders a,b,c and output a count of the number of dtml documents (comments) in each. I've got this far (where ListComments is a dtml method that lists the comments): <dtml-in expr="News.objectValues()"> <dtml-var sequence-item> <A HREF="Comments/&dtml-id;/ListComments"> <dtml-var expr="_.len(Comments.*****.objectValues())"> Comments </A> </dtml-in> but I need to be able to replace the ***** with the current sequence-id (i.e. a, b, or c) and I can't get it to work. Can anyone help? Greg _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com