Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Browser error status information
Browser error status information [message #462707] Mon, 17 October 2005 15:34 Go to next message
Eric is currently offline Eric
Messages: 77
Registered: July 2009
Member
My Goal: To be able to display local content in the browser if remote
content fails to load.

I was hoping for some kind of information from the Browser object or one
of it's listeners to be able to determine a failed load. I cannot seem to
find any :-( I have implemented all of the listeners and output all of
the event details but none of them seem to have tell tale signs of a
failed load.

The one thing I did notice (Which might be a bug) is that on Windows the
Browser's LocationListener shows a local "res:...." URL when the changing
event is fired but ends up firing another changed event that has the
original url that was attempted.

If someone has overcome this issue or can point me in the right direction
I would love to hear about it.

Thanks,

Eric
Re: Browser error status information [message #462733 is a reply to message #462707] Tue, 18 October 2005 14:29 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
Eric,

There is not currently a means provided to determine this. To investigate
this I've logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=112939 .

Grant

"Eric" <eclipse.swt.newsgroup@zimtek.com> wrote in message
news:fe24c65bf31494ad88ddf4a32166d0dc$1@www.eclipse.org...
> My Goal: To be able to display local content in the browser if remote
> content fails to load.
>
> I was hoping for some kind of information from the Browser object or one
> of it's listeners to be able to determine a failed load. I cannot seem to
> find any :-( I have implemented all of the listeners and output all of
> the event details but none of them seem to have tell tale signs of a
> failed load.
>
> The one thing I did notice (Which might be a bug) is that on Windows the
> Browser's LocationListener shows a local "res:...." URL when the changing
> event is fired but ends up firing another changed event that has the
> original url that was attempted.
>
> If someone has overcome this issue or can point me in the right direction
> I would love to hear about it.
>
> Thanks,
>
> Eric
>
Re: Browser error status information [message #462740 is a reply to message #462733] Tue, 18 October 2005 15:24 Go to previous message
Eric is currently offline Eric
Messages: 77
Registered: July 2009
Member
Thanks Grant...you captured it correctly. This is an essential feature
for anybody embedding the browser widget into a desktop application with
an intent to display pre-determined content.
Previous Topic:Displaying a TreeItem with Two Lines of Text
Next Topic:Mixing a TableViewer and a TableCursor
Goto Forum:
  


Current Time: Thu Oct 23 08:59:23 GMT 2014

Powered by FUDForum. Page generated in 0.01683 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software