I want to create a table when you can see the events who are added in the calendar. This table is in the WebHome, and there is a class for the calendar. So I writted this script: #set ($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.CalendarEvent' and obj.name<>'XWiki.CalendarEventTemplate'") #set ($dates= $xwiki.searchDocuments($hql)) {table} nom|date|lieu|type #foreach ($CalendarEvent in $dates) #set ($CalendarEventDoc = $xwiki.getDocument($CalendarEvent)) #set ($CalendarEventObj = $CalendarEventDoc.getObject("XWiki.CalendarEvent")) [$CalendarEventObj.title>$CalendarEvent] | $CalendarEventObj.startDate | $CalendarEventObj.location | $CalendarEventObj.category #end {table} When I added a first event in Calendar, it was ok (It appeared in table). But for the second, it doesn't work: I see the second event in "Event List", in Calendar.But not in my table. Thanks for helping. -- View this message in context: http://n2.nabble.com/table-with-new-events-tp1402455p1402455.html Sent from the XWiki- Users mailing list archive at Nabble.com.