The Dispatcher has a method that obtains the (transformed, if you are using that 
feature) configuration document as a JDOM object.

You can get the Dispatcher from the application attribute context using the key 
Dispatcher.MAVERICK_APPLICATION_KEY.

Document doc = 
((Dispatcher)this.getCtx().getServletContext().getAttribute(Dispatcher.MAVERICK_APPLICATION_KEY)).getConfigDocument();

Enjoy :-)

Jeff Schnitzer
[EMAIL PROTECTED]

> -----Original Message-----
> From: Pierre de Soyres [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 22, 2003 6:41 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] how to get the commands list
> 
> hello,
> 
> i was wondering if there was any way to, from a Controller, get the
> commands list setted in the maverick.xml config file.
> 
> Thanks.
> --
> ------------------------------------------
> Pierre de Soyres
> Ing�nieur d'�tudes
> e-Manation
> 
> 14 Bd du Mar�chal Juin
> 44100 Nantes
> 
> 
> FRANCE
> Tel: +33 (0)2 40 43 06 11
> Fax: +33 (0)2 40 43 30 02
> ------------------------------------------
> 
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> Les informations contenues dans ce courrier electronique et dans les
> fichiers
> qui y sont attachees sont confidentielles et peuvent etre protegees
> legalement.
> Elles ne sont adressees qu'au destinataire. L'acces a ce courrier
> electronique
> par toute autre personne n'est pas autorise. Si vous n'etes pas le
> destinataire voulu, toute divulgation, copie ou diffusion de ce courrier
> electronique est interdite et peut etre illegale.
> Sauf mention contraire dans le corps du message, la presence de cette note
> prouve egalement que ce message electronique a ete verifie par un logiciel
> anti-virus.
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> This email and any attached file are confidential and intended solely for
> the use of the individual or entity to whom they are addressed.
> Accessing this email by anyone else than the recipient is forbidden and
> may
> be illegal.
> If you received this email by error please notify the system
> administrator.
> This footnote also confirms that this message has been scanned by an anti-
> virus
> software.
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a single machine.
> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
> at the same time. Free trial click
> here:http://www.vmware.com/wl/offer/358/0
> [INVALID FOOTER]


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
[INVALID FOOTER]

Reply via email to