Re: [Mav-user] There must be a bug in the XSLT Transformer
your XSL source must be XML valid : you should write element/ (with auto-closing tag) instead element . On Mon, 5 Jul 2004 15:05:11 +0200, Peter Lerche [EMAIL PROTECTED] wrote: Hi, I am going bonkers. I have spend the all weekend on this. My problem only occurs when supplying ctx.getModel() as an org.w3c.dom.Node to the TrivialViewFactory. If I have an empty element with an attribute the xslt parser ignore the rest of xml source. eg: Source: root element text=the parser stops here/ help anything after the element is lost during xslt transformation /help /root Output: root element text=the parser stops here/blem only occures when supplieng ctx.getModel() as an org.w3c.dom.Node /root I am using an XML db (exist-db.org) controller which provide an org.w3c.dom.Node to the TrivialViewFactory. The TrivialViewFactory does a 81: Source src = new javax.xml.transform.dom.DOMSource((Node)vctx.getModel()); and forward the src to 343: XSLTransform.java trans.transform(input, res); as the input param. The vctx.getModel holds the XML DB result-set as a dom.Node. I have checked the content of vctx.getModel.toString() and it looks perfect. Here is another example. an example: maverick.xml: command name=* !-- This is a controller for the eXist XML db http://exist-db.org -- controller class=com.easyspeedy.maverick.ctl.ExistControler param name=xquery value=xdfs/xquery/test.xq/ param name=ext value=xml/ /controller view type=trivial name=success transform type=xslt path=/xdfs/stylesheets/empty.xsl/ /view /command Stylesheet: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:xd=http://xmldream.com/NS/core/1.0; !-- This stylesheet does nothing but copy input source to output -- xsl:template match=@*|*|text()|processing-instruction() priority=-1 xsl:copy xsl:apply-templates select=@*|*|text()|processing-instruction()/ /xsl:copy /xsl:template /xsl:stylesheet XML source WORKING: --- xd:document xmlns:xd=http://xmldream.com/NS/core/1.0; pThis is a text 1/p xd:content pThis is a text 2/p xd:block pThis is a text 3/p !-- xd:usages This element is fine-- xd:usages/ !--This is fine-- pThis is a text 4/p xd:body pThis is a text 5/p /xd:body pThis is a text 6/p /xd:block pThis is a text 7/p /xd:content /xd:document XML WORKING OUTPUT: This is a text 1 This is a text 2 This is a text 3 This is a text 4 This is a text 5 This is a text 6 This is a text 7 XML Source NOT WORKING: --- xd:document xmlns:xd=http://xmldream.com/NS/core/1.0; pThis is a text 1/p xd:content pThis is a text 2/p xd:block pThis is a text 3/p !-- xd:usages - if the element has an attribute and no child elements it will stop XSLT processing-- xd:usages title=Data Center/ !-- Stops here -- pThis is a text 4/p xd:body pThis is a text 5/p /xd:body pThis is a text 6/p /xd:block pThis is a text 7/p /xd:content /xd:document XML NOT WORKING OUTPUT: This is a text 1 This is a text 2 This is a text 3 -- --- 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 www.e-manation.com --- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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
[Mav-user] release Maverick is one year old
hi all, the last Maverick release is now 1 year old. Do you know when a new one will be commited with all the changes ? Or, do I need to update my maverick.jar using the online CVS ? Pierre de Soyres. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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 the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 [INVALID FOOTER]
Re: [Mav-user] how to get the commands list
yes I override the init(ServletConfig) method but I still call the super.init(ServletConfig) at the end. I discovered that my Dispatcher was my ServletContext's attribute for name : maverickApplicationKey and not for name mav.dispatcher (or Dispatcher.MAVERICK_APPLICATION_KEY). Pierre On Tue, 9 Sep 2003 15:26:20 -0700, Schnitzer, Jeff [EMAIL PROTECTED] wrote: Simply having derived your own dispatcher then yes, your object should still be available in the ServletContext. But what did you override? Did you override init() without calling the superclass method? Jeff Schnitzer [EMAIL PROTECTED] -Original Message- From: Pierre de Soyres [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 12:39 AM To: [EMAIL PROTECTED] Subject: Re: [Mav-user] how to get the commands list I tried to do so, but the object that i get is null. I use my own Dispatcher named AdminDispatcher that inherit from maverick Dispatcher. Does my Dispatcher should be also available as the ServletContext attribute key Dispatcher.MAVERICK_APPLICATION_KEY ? On Fri, 22 Aug 2003 13:21:28 -0700, Schnitzer, Jeff [EMAIL PROTECTED] wrote: 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] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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
Re: [Mav-user] how to get the commands list
I tried to do so, but the object that i get is null. I use my own Dispatcher named AdminDispatcher that inherit from maverick Dispatcher. Does my Dispatcher should be also available as the ServletContext attribute key Dispatcher.MAVERICK_APPLICATION_KEY ? On Fri, 22 Aug 2003 13:21:28 -0700, Schnitzer, Jeff [EMAIL PROTECTED] wrote: 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] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
[Mav-user] get Server info
Hello, with a HttpServletRequest, i can retrieve the Host name with : request.getServerName(); does anyone know if it is possible to retrieve such information within the Maverick Dispacher's init(ServletConfig) method ? -- -- 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf [INVALID FOOTER]
[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]
[Mav-user] maverick.xml pre XSLT transform
hello, I would like to know how to pre-transform using XSLT my maverick.xml in order to make my action commands constructed dynamicly thanks Pierre *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 [INVALID FOOTER]
Re: [Mav-user] new user
hello, I am very very interested in a well formed error handling and any other stuff that could be plugged on the Maverick framework. Thanks. Pierre On Tue, 22 Jul 2003 11:21:49 +0200, Eelco Hillenius [EMAIL PROTECTED] wrote: I am hooked to Maverick as well. I used it for several projects, and just begun using it for a large scale project. For this project I am responsible for education as well, and for this purpose I developped a small example webapp. It uses Velocity for the views and provides a small additional framework for default error handling etc, and uses Hibernate for ORM (MySQL as database) ORM. If you want, I can send it to you (and other interested readers). Maybe it's nice for your presentation, and I think the additional framework shows an example of how to do semi-automatic error handling, as this is something that people coming from Struts look for when they start using Maverick (at least, that's my experience). It's not documented yet, but it should not be too difficult to find out what's happening. Eelco -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Volkmann, Mark Sent: maandag 21 juli 2003 22:22 To: '[EMAIL PROTECTED]' Subject: [Mav-user] new user I see that there isn't much traffic on this mailing list now. That's a shame. I just learned about Maverick a few days ago and I'm hooked. I like it much better that Struts. Part of the reason is that I strongly prefer generating HTML using XSLT than using JSP and Struts strongly leans toward JSP. DOMify works great for generating an XML representation of your model! However, I think the issue of it not dealing with circular references needs to be addressed. I'm creating a presentation of Maverick that I may present at the St. Louis Java User Group soon. If there is any interest in putting a link to my presentation on the Maverick web site, I'd be open to that. If anyone is interested, I can send my presentation to this mailing list before I give the talk. That way if I've misstated something, one of you might correct me on it before it's too late. Congrats on a great framework! *** WARNING: All e-mail sent to and from this address will be received or otherwise recorded by the A.G. Edwards corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. --- 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/345/0 [INVALID FOOTER] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- -- -- 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
[Mav-user] handling errors
Hello, I'm developping my first Maverick based web application, and, as I used to do with servlets, I would like to handle my fatal errors with such definition in the web.xml : error-page exception-typefr.emanation.web.demo.SessionTimeOutException/exception- type location/session_error.htm/location /error-page I use the Domify module so my views are in a XSL format and my model in a XML format. In my application, all the controlers inherit from ThrowawayBean2 and their perform() method throws a SessionTimeOutException. So, I would like that, when such an exception is thrown, the session_error.html page displays. Is it a good way to do with Maverick ? And how can I manage this ? Thanks. Pierre *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 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 sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 [INVALID FOOTER]