How list objects?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How list objects?


I need to list events that were inserted through the MoccaCalendar
application. I need to get the title, the way, the start date and the end
date of the event. I need to get only the future events (> = today) and a
maximum of 10 events. Unfortunately I could not do, so I ask your help.

I could only do just that:

#set($results = $"select doc.title, doc.web, doc.fullName from
XWikiDocument doc where = 'MoccaCalendar. Mycalendar' and
doc.fullName != 'MoccaCalendar. Mycalendar.WebHome' "))

#foreach ($item in $results)



Thank you in advance,

Best Regards,

devs mailing list
[hidden email]