After some investigation, it looks like this is a problem with firefox
that needs to be handled in the xtitle javascript:

http://radio.javaranch.com/pascarello/2006/02/07/1139345471027.html

The good stuff:

Mozilla calls onload() for all HTTP transactions that succeeded. The
only
time it calls onerror() is when a network error happened. Inside the onerror
handler, accessing the status attribute results in this exception:

Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult: "0x80040111
(NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
file:///Users/chuck/errtest.html :: anonymous :: line 114"  data: no]
Source File: file:///Users/chuck/errtest.html
Line: 114
</quote> 

Now an easy fix for now is to add another try catch in your onerror
function when you are reading the status property. This will stop the
error occuring, but thanks to this, you will not have all of the
information that you could have with IE.

On Thu, 2006-07-06 at 09:41 -0400, Dan Adams wrote:
> I'm using XTile and get the following javascript error from firefox:
> 
> Error: [Exception... "Component returned failure code: 0x80040111
> (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]"  nsresult:
> "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame ::
> http://localhost:8090/admin/Home.html :: anonymous :: line 116"  data:
> no]
> Source File: http://localhost:8090/admin/Home.html
> Line: 116
> 
> I'm using xtile in my template like this:
> 
> <xtile jwcid="@contrib:XTile" listener="listener:start"
> sendName="_sendStartRecording" receiveName="_recvMsg" />
> <xtile jwcid="@contrib:XTile" listener="listener:append"
> sendName="_sendAppend" receiveName="_recvMsg" />
> <xtile jwcid="@contrib:XTile" listener="listener:stop"
> sendName="_sendStopRecording" receiveName="_recvMsg" />
> 
> This is the first time I've tried using xtile so any suggestions are
> welcome. Thanks. :)
> 
-- 
Dan Adams
Software Engineer
Interactive Factory
617.235.5857


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

Reply via email to