Hi Philipp,

Sounded interesting to use the command configuration feature.  So I had a look 
at the configuration of the website tree, and how activate and deactivate 
workflow actions are integrated.  It looks like I'd still have to extend the 
command handling in my subclass of the AdminTreeMVCHandler.  I don't see a 
practical way around the fact that getCommand returns COMMAND_SHOW_TREE when 
it can find anything else.

I am not sure but I think I need the subclass anyhow in order to have a hook 
for my Tree Configuration.  At least that is the way it is done for the other 
Tree Handlers.  Or is there something I am missing?

Chris

Am Donnerstag, 17. August 2006 17:01 schrieb Philipp Bracher:
> > I think the other method will work well enough to get the  
> > javascript in place.
> > But  now that I look further at the AdminTreeMVCHandler, I wonder  
> > if I should
> > be extending the command handling for my subclass of the  
> > AdminTreeMVCHandler?
>
> Where subclassing is always a possibility I suggest to use the  
> configuration of commands. You see how this work if you have a look  
> at the configuration of the website tree if you have installed the  
> workflow module.

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to