I've gotten this to work successfully: <span if="${gifts.Count == 0}">I received no gifts yet!</span>
Hope that helps! ~Arne On Jun 11, 7:32 am, Juarez <jbo...@gmail.com> wrote: > Hi, I've created a repeated element like this: > > <ul> > <li repeat="${gifts}"> > ${Cur.name} > </li> > </ul> > > The problem is that I want to display a special message if no items > are found. I've tried the following, but it does not work. > > <os:If condition="${gifts.Count == 0}"> > I received no gifts yet! > </os:If> > > Can anybody help me? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---