Hi Versus,

On Sep 14, 2008, at 7:35 PM, versus wrote:


Hi all,

I have with the following setup:
- author and public instance (Magnolia 3.6.1)

Can I have the Observation module enabled (installed) only on the public
instance?
I copied the corresponding jar in the public app, installed the module and
configure the
observation listener through the AdminCentral. I used the settings from the
other disabled
observation listeners (i.e. activateAddedPages), the only change being event
types
(I guess using "-" means register for all events).

I tried to add/edit nodes on the author instance, then activate them, but it
doesn't seem
like the observation listeners are actually called (I put some log
statements to check).

How can I test that a certain observation listener is actually called? Can I
use the observation
mechanism for the purpose described above?

Thanks,
vs

--
View this message in context: 
http://www.nabble.com/Observation-usage-tp19482453p19482453.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


I don't really understand what are you trying to do, would you like your pages activated in the public instance when added/edited in the author instance? then you would need to install the observation module in the author instance.

There is some information here 
http://documentation.magnolia.info/modules/observation.html

If you have set the log level to info, you should be able to see in the logs is your event (in this case the activation command) has been called. The log file would look like: INFO CommandEventListener CommandEventListener.java(onEvent:81) 21.08.2008 11:27:39 start event

Best regards,

Teresa Miyar
Magnolia International Ltd.

----------------------------------------------------------------------
[EMAIL PROTECTED]                  http://www.magnolia.info
Magnolia®  - Simple Open Source Content Management
----------------------------------------------------------------------






----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to