Dear Magnolians

I will be needing a very specific activation command soon. So I started 
examining the whole activation process. So far I think I understand how things 
are handled... except that I cannot figure out how where the command is getting 
the list of allowed node types from.

- ActivationCommand.activateRecursive() calls getRule() to filter out all 
unwanted nodes.
- RuleBasedCommand.getRule() calls getItemTypes()
-> But where is the list of item types set? Not in the config...

My assumption would be, that the command looks at the tree somewhere and gets 
the list of supported node types from there. Is this correct? And where/when 
does this happen? And even more important: How can I customize this? In my case 
the activation will be executed programmatically (without a tree) and should 
activate a node recursively with certain subnodes (depending on node type 
and/or node name).

Thanks!
-will 




----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to