In short all you need is just create a node with nodeData "class" and set value 
to fully qualified name of your command.
The command node has to exist in the /modules/<yourmodule>/commands hierarchy 
or in the subfolder of that (the subfolder is then referred to as a "catalogue" 
in scheduler. If you are creating catalogue, make sure it's name is unique and 
not defined already by any other modules.

Look at config:/modules/admininterface/commands/  if you need examples.

HTH,
Jan

On Jun 7, 2010, at 2:02 AM, Suraj wrote:

> I have written a simple .java file, but I am not sure how to register this 
> command on Magnolia?
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------

-  
Best regards,

Jan Haderka, PhD.
Magnolia International Ltd.

http://www.magnolia-cms.com

You should join us at Magnolia Conference 2010: 
http://www.magnolia-cms.com/conference

http://twitter.com/magnolia_cms
http://facebook.com/Magnolia

--------------------------------------

Magnolia®  - Simple Open-Source Content Management





----------------------------------------------------------------
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