On 12/05/2009 05:44 PM, J. Allen Q. Santos wrote:
> Can I use this to listen for edit clicks? I mean, whenever a user clicks
> 'edit', my listener would invoke some method, for example,
> incrementEditClicks().

"Clicks" on the button, no. But you can monitor for the /edit/ action.

> --------------------------------------------------
> From: "Sergiu Dumitriu"<ser...@xwiki.com>
> Sent: Saturday, December 05, 2009 7:20 PM
> To: "XWiki Users"<users@xwiki.org>
> Subject: Re: [xwiki-users] Listener for new pages/updates
>
>> On 12/05/2009 10:54 AM, J. Allen Q. Santos wrote:
>>> Hi,
>>>
>>>
>>> Is it possible to create a listener, like those for java GUI, to listen
>>> for new updates or pages? The goal is to perform an operation everytime a
>>> save operation in xwiki occurs.
>>
>>
>> You can look at this tutorial:
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial
>>
>> and in general look at the observation component:
>> http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-observation/


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to