From: Sebastian Ö. <seb...@gm...> - 2010-03-24 22:07:39
|
Thanks for your reply, Unfortunately, this doesn't work for me. It just prints the text literally once for every item in the list. Also, Eclipse shows an "EL syntax error". /Sebastian 24 mar 2010 kl. 22.10 skrev Kristian Liibert: > Hi, > > <mak:list from="general.Comment c" where="c.references = p"/> > ${mak:lastCount()} comments > > should work, > > the BEST, > > > 2010/3/24 Sebastian Öhrn <seb...@gm...> > Hi, > > I'm trying to get the count of a <mak:list> expression, but I'm not getting the expected results. The code: > > <mak:list from="general.Comment c" where="c.references = p"> > <mak:value expr="count(c)" /> comments > </mak:list> > > p is generated from a <mak:list> earlier in the code. > > Instead of the expected result, the first time it prints out the total number of comments in the table (ignoring my where clause), and subsequent times, it prints zero comments. > > Any ideas? > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Makumba-user mailing list > Mak...@li... > https://lists.sourceforge.net/lists/listinfo/makumba-user > > > > > -- > Kristian Liibert > Board of European Students of Technology > BEST-Estonia, LBG Tallinn > IT-Coordinator > Kristian.Liibert@BEST.ee > +372 5561 7662 |