jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: event listener not getting any events..
Date Fri, 14 Jul 2006 14:50:18 GMT
Marcel Reutegger wrote:
> Torgeir Veimo wrote:
>> Quick followup question; when i create a node with child nodes, I seem 
>> to be getting only one event with type PROPERTY_ADDED on one of the 
>> children of the new node. Eg I create a node
>>
>> /pages/test2 of type nen:resource, mixin nen:protected, with childen 
>> nen:ace.
>>
>> The node I get the event for is the node
>>
>> /pages/test2/nen:ace/jcr:primaryType
>>
>> Is there something wrong with my listener registration?
> 
> do you set any other properties on /pages/test2/nen:ace ?

I create the test2 node of type nen:resource, mixin nen:protected, and 
attach a number of child nodes of type nen:ace to it. It's all done in 
one session which I logout of immediately after the save.

> a listener also does not get events for an item it's not allowed to see. 
> i.e. restricted by access rights.

Ok, I'm not actually restricting any operations by any access manager 
just yet.


-- 
-Torgeir

Mime
View raw message