catch 404 from url-generator processor?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

catch 404 from url-generator processor?

Ronthe
The url-generator processor passes any 404 it receives to the client, is it possible to catch this and replace it with a default value?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: catch 404 from url-generator processor?

Alessandro Vernet
Administrator
Ronny,

On 9/11/07, [hidden email] <[hidden email]> wrote:
> The url-generator processor passes any 404 it receives to the client, is it possible to catch this and replace it with a default value?

Try the using the exception-catcher. See for instance an example in:

http://www.nabble.com/RE%3A-Catching-Exceptions-in-XPL-p2720341.html

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: catch 404 from url-generator processor?

Ronthe
That worked, thanks!



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws