Re: [T5] Return HTTP Error from AJAX Call

2008-06-25 Thread Filip S. Adamsen
Maybe this will help, it's a HttpStatusCode class and a 
ComponentEventResultProcessor that handles it:

http://www.mail-archive.com/users@tapestry.apache.org/msg23885.html

-Filip

On 2008-06-25 23:01, Dave Dombrosky wrote:

I would like to return an HTTP error from an AJAX call, so that it
will be interpreted as a failed request by my response handlers.  Is
there any way to bypass Tapestry's ExceptionReport and instead have an
Exception bubble up to Tomcat (so that a 500 Error is generated)?

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Return HTTP Error from AJAX Call

2008-06-25 Thread Thiago H. de Paula Figueiredo
Em Wed, 25 Jun 2008 18:01:53 -0300, Dave Dombrosky <[EMAIL PROTECTED]>  
escreveu:



I would like to return an HTTP error from an AJAX call, so that it
will be interpreted as a failed request by my response handlers.  Is
there any way to bypass Tapestry's ExceptionReport and instead have an
Exception bubble up to Tomcat (so that a 500 Error is generated)?


In addition, how could I bypass an AJAX request and force a traditional  
request? I tried to simply return null or "this" in the event handler  
method, but it is handled as an AJAX request.


Thiago

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T5] Return HTTP Error from AJAX Call

2008-06-25 Thread Dave Dombrosky
I would like to return an HTTP error from an AJAX call, so that it
will be interpreted as a failed request by my response handlers.  Is
there any way to bypass Tapestry's ExceptionReport and instead have an
Exception bubble up to Tomcat (so that a 500 Error is generated)?

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]