Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-21 Thread vinc...@massol.net
ge. En date de : Mer 20.1.16, vinc...@massol.net a écrit : Objet: Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events) À: "XWiki Users" Date: Mercredi 20 janvier 2016, 15h09 On 2

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-21 Thread Pascal BASTIEN
We must add manually ExtensionCode.ExtensionCompatibilityClass object at the extension page. En date de : Mer 20.1.16, vinc...@massol.net a écrit : Objet: Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some eve

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread vinc...@massol.net
-users] How can I get event object through a form (a form to choose and delete manually some events)  À: "XWiki Users"   Cc: "Pascal BASTIEN"   Date: Mercredi 20 janvier 2016, 11h06  #yiv8476593446  body{font-family:Helvetica,  Arial;font-size:13px;}Hi Pascal,  What would be ve

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread Pascal BASTIEN
greedy! Ok I will find some time to post that :-) En date de : Mer 20.1.16, vinc...@massol.net a écrit : Objet: Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events) À: "XWiki Users&

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread vinc...@massol.net
Hi Pascal, What would be very nice would be to post this snippet on extensions.xwiki.org  :) (With possibly a screenshot to attract users…) Thanks! -Vincent On 20 Jan 2016 at 11:03:13, Pascal BASTIEN (pbasnews-xw...@yahoo.fr) wrote: Here a nice form to choose and delete manually some annoying e

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread Pascal BASTIEN
Here a nice form to choose and delete manually some annoying event (like a page deleted or some rude text in an page updated) * * {{velocity}} Form to delete manually some event entry f

Re: [xwiki-users] How can I get event object through a form

2016-01-18 Thread Eduard Moraru
Hi, Did you try using searchEvents and building an HQL that retrieves the Event object with the given IDs? Then, once you get the Event objects, you can use deleteActivityEvent on each of them. Hope this helps, Eduard On Mon, Jan 18, 2016 at 2:39 PM, Pascal BASTIEN wrote: > Hi, > > I try to ma

[xwiki-users] How can I get event object through a form

2016-01-18 Thread Pascal BASTIEN
Hi, I try to make an Admin form to delete some event from activity stream. I manage: - to list events in a checkbox list - to delete an event #foreach ($MonEvent in $xwiki.activitystream.getEventsForUser($MyUserr, false, 300, 0)) #if ($MonEvent.getPage()=='MySpace.MyPage') * event d