Hi..
I try to do this:
-------------------------
#{list items:models.Item.find('byItemTag', _name).fetch(), as:'tag'}
${tag.size()}
#{/list}
------------------------
But it can't shows size number. But when only #{tag} it is OK, but not
I want..I want size() number!!
> 2011/1/23 KuoYing@Taiwan <
stu93303...@gmail.com>
>
>
>
>
>
>
>
> > Hi all:
> > In main.html file I want to show "itemTag" data, so I using...
>
> > #{list allTags}
> > <div class="content_left_kind_list"
> > id="KDlist01">#{main.itemTag name:_.tagName /}(0)</div>
> > #{/list}
>
> > It looks better, and allTags is query Tag class.....but my question is
> > "(0)"..I want to show how many items in the Tag...It will try to query
> > Item class..for example: Item.find("byItemTag",
> > _.tagNam ).fetch().size();
>
> > But this query string could replace "(0)"................
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "play-framework" group.
> > To post to this group, send email to
play-fr...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
play-framewor...@googlegroups.com<play-framework%2Bunsubscribe@go
oglegroups.com>
> > .